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