vimrc: add mappings for buffer switching

This commit is contained in:
surtur 2022-07-14 16:07:14 +02:00
parent 2185271ce9
commit 1fd28c8046
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -339,6 +339,13 @@ nmap <leader>bb :CtrlPBuffer<cr>
nmap <leader>bm :CtrlPMixed<cr> nmap <leader>bm :CtrlPMixed<cr>
nmap <leader>bs :CtrlPMRU<cr> nmap <leader>bs :CtrlPMRU<cr>
" buffers
nmap <leader>T :enew<cr>
nmap <leader>bq :bp <BAR> bd #<cr>
nmap <leader>gd :bd<cr>
map gn :bn<cr>
map gp :bp<cr>
" change cursor shape for different editing modes, neovim does this by default " change cursor shape for different editing modes, neovim does this by default
if !has('nvim') if !has('nvim')