From 9194111fdb0d64148767066028c9aadf0dc69097 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 31 May 2021 21:10:00 +0200 Subject: [PATCH] toggle line numbers keybinding --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vimrc b/.vimrc index c22436e..5637f54 100644 --- a/.vimrc +++ b/.vimrc @@ -180,6 +180,8 @@ augroup END " https://github.com/jreybert/vimagit#mappings nmap m :Magit +" toggle linenumbers +nmap c :set norelativenumber!:set nonu! " VON vim NACH xxx kopieren " https://unix.stackexchange.com/questions/12535/how-to-copy-text-from-vim-to-an-external-program set clipboard=unnamedplus