vimrc: add mappings for buffer switching
This commit is contained in:
parent
2185271ce9
commit
1fd28c8046
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user