no line numbers for vim terminals

This commit is contained in:
Christoph J. Scherr 2023-08-24 12:28:55 +02:00
parent 6b5999ede6
commit b50756977e
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
1 changed files with 8 additions and 5 deletions

View File

@ -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 # `