From 0f1d1799fbdadb45d1e0f8f882b3475271be71c9 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Thu, 24 Aug 2023 12:28:55 +0200 Subject: [PATCH] no line numbers for vim terminals --- home/.config/nvim/common.vim | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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 # `