vim: Add shortcuts for buffer navigation
This commit is contained in:
parent
1db2c2275f
commit
c5740a08b7
1 changed files with 4 additions and 0 deletions
|
@ -32,3 +32,7 @@ set smartcase
|
|||
set listchars=tab:>-,trail:·
|
||||
set list
|
||||
:nnoremap <silent> <F5> :let _s=@/<Bar>:%s/\s\+$//e<Bar>:let @/=_s<Bar>:nohl<CR>
|
||||
|
||||
" Custom shortcuts
|
||||
map gb :bn<cr>
|
||||
map gB :bp<cr>
|
||||
|
|
Loading…
Reference in a new issue