Use the <leader> key

This commit is contained in:
Anthony Rose 2023-05-15 11:50:37 +01:00
parent c66ffd3382
commit efecabc3f2

5
vimrc
View file

@ -52,8 +52,9 @@ nnoremap <down> <nop>
nnoremap <left> <nop> nnoremap <left> <nop>
nnoremap <right> <nop> nnoremap <right> <nop>
nnoremap <up> <nop> nnoremap <up> <nop>
nnoremap gB :bprevious<CR>
nnoremap gb :bnext<CR> nnoremap <leader>B :bprevious<CR>
nnoremap <leader>b :bnext<CR>
map <C-ScrollWheelDown> <C-F> map <C-ScrollWheelDown> <C-F>
map <C-ScrollWheelUp> <C-B> map <C-ScrollWheelUp> <C-B>