no line numbers for vim terminals
This commit is contained in:
parent
6b5999ede6
commit
b50756977e
|
@ -94,6 +94,9 @@ vnoremap p pgvy
|
|||
" open terminal with F12
|
||||
nnoremap <F12> :terminal<CR>
|
||||
|
||||
" no line numbers for terminals
|
||||
autocmd TermOpen * setlocal nonumber norelativenumber
|
||||
|
||||
" vsplit with <Leader>, then "
|
||||
map <Leader>" :vsplit<CR>
|
||||
|
||||
|
@ -114,6 +117,11 @@ nnoremap <leader>S i<CR><ESC> V:m -2<CR>
|
|||
nmap <A-u> kzz
|
||||
nmap <A-d> jzz
|
||||
|
||||
" stuff for marks
|
||||
" jump to the given mark with <#> instead of `, i have a qwertz keyboard
|
||||
nmap # `
|
||||
vmap # `
|
||||
|
||||
" spell checking -----------------------------------------------------------------------------------
|
||||
set spell spelllang=en,de
|
||||
|
||||
|
@ -149,8 +157,3 @@ syntax region cBackTickNoSpell start=+`+ end=+`+
|
|||
syntax region cRusDocCommentNoSpell start=+//!+ end='\z1' contained extend
|
||||
\ contained containedin=cComment,cCommentL transparent
|
||||
\ contains=@NoSpell
|
||||
|
||||
" stuff for marks
|
||||
" jump to the given mark with <#> instead of `, i have a qwertz keyboard
|
||||
nmap # `
|
||||
vmap # `
|
||||
|
|
Loading…
Reference in New Issue