vim: add buffer naviguation plugin and mappings
parent
4007d40c4d
commit
441d8183cf
|
@ -26,6 +26,7 @@ if filereadable(expand("$HOME/.vim/bundle/vundle/README.md"))
|
||||||
|
|
||||||
Bundle 'goldfeld/vim-seek'
|
Bundle 'goldfeld/vim-seek'
|
||||||
Bundle 'Lokaltog/vim-easymotion'
|
Bundle 'Lokaltog/vim-easymotion'
|
||||||
|
Bundle 'ton/vim-bufsurf'
|
||||||
|
|
||||||
Bundle 'Gundo'
|
Bundle 'Gundo'
|
||||||
Bundle 'The-NERD-tree'
|
Bundle 'The-NERD-tree'
|
||||||
|
@ -51,6 +52,7 @@ set smarttab
|
||||||
set autoindent
|
set autoindent
|
||||||
set nowrap
|
set nowrap
|
||||||
|
|
||||||
|
set hidden
|
||||||
set ruler
|
set ruler
|
||||||
set showcmd
|
set showcmd
|
||||||
set fileencoding=utf-8
|
set fileencoding=utf-8
|
||||||
|
@ -130,6 +132,11 @@ map <F11> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
|
||||||
map <F12> ggVGg?
|
map <F12> ggVGg?
|
||||||
|
|
||||||
nnoremap <silent> <leader>r :call NumberToggle()<CR>
|
nnoremap <silent> <leader>r :call NumberToggle()<CR>
|
||||||
|
|
||||||
|
nnoremap <silent> ,bp :bprevious<CR>
|
||||||
|
nnoremap <silent> ,bf :bnext<CR>
|
||||||
|
nnoremap <silent> ,Bp :BufSurfBack<CR>
|
||||||
|
nnoremap <silent> ,Bf :BufSurfForward<CR>
|
||||||
" }
|
" }
|
||||||
|
|
||||||
" PLUGINS
|
" PLUGINS
|
||||||
|
|
Loading…
Reference in New Issue