Vim: add prefix+r to toggle relative numbering

This commit is contained in:
DuckDuckWhale 2021-05-04 21:23:48 -07:00
parent 499ab3c90c
commit cb6d2f77a5
Signed by: DuckDuckWhale
GPG Key ID: E4B9FC170FFD71CE

View File

@ -27,6 +27,7 @@ nnoremap <silent> <leader>h :noh<CR>:echo "Stopped search highlighting."<CR>
nnoremap <silent> <leader>i :call ToggleIntuitiveLineMovement()<CR> nnoremap <silent> <leader>i :call ToggleIntuitiveLineMovement()<CR>
nnoremap <silent> <leader>l :set list!<CR> nnoremap <silent> <leader>l :set list!<CR>
nnoremap <silent> <leader>q gwap nnoremap <silent> <leader>q gwap
nnoremap <silent> <leader>r :set relativenumber!<CR>
nnoremap <silent> <leader>s :call ToggleSpellCheck()<CR> nnoremap <silent> <leader>s :call ToggleSpellCheck()<CR>
nnoremap <silent> <leader>w :update<CR> nnoremap <silent> <leader>w :update<CR>