diff --git a/home/.config/nvim/common.vim b/home/.config/nvim/common.vim index c0134a0..2e0444a 100644 --- a/home/.config/nvim/common.vim +++ b/home/.config/nvim/common.vim @@ -94,6 +94,9 @@ vnoremap p pgvy " open terminal with F12 nnoremap :terminal +" no line numbers for terminals +autocmd TermOpen * setlocal nonumber norelativenumber + " vsplit with , then " map " :vsplit @@ -114,6 +117,11 @@ nnoremap S i V:m -2 nmap kzz nmap 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 # `