toggle line numbers keybinding

This commit is contained in:
Michael Grote 2021-05-31 21:10:00 +02:00
parent da431ae9c9
commit 9194111fdb

2
.vimrc
View file

@ -180,6 +180,8 @@ augroup END
" https://github.com/jreybert/vimagit#mappings " https://github.com/jreybert/vimagit#mappings
nmap <Leader>m :Magit<cr> nmap <Leader>m :Magit<cr>
" toggle linenumbers
nmap <Leader>c :set norelativenumber!<CR>:set nonu!<CR>
" VON vim NACH xxx kopieren " VON vim NACH xxx kopieren
" https://unix.stackexchange.com/questions/12535/how-to-copy-text-from-vim-to-an-external-program " https://unix.stackexchange.com/questions/12535/how-to-copy-text-from-vim-to-an-external-program
set clipboard=unnamedplus set clipboard=unnamedplus