From 441d8183cf299f2aea8998f6076d949b7606af45 Mon Sep 17 00:00:00 2001 From: Guillaume DOTT Date: Wed, 6 Feb 2013 17:38:45 +0100 Subject: [PATCH] vim: add buffer naviguation plugin and mappings --- vim/vimrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index dc514f9..876212b 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -26,6 +26,7 @@ if filereadable(expand("$HOME/.vim/bundle/vundle/README.md")) Bundle 'goldfeld/vim-seek' Bundle 'Lokaltog/vim-easymotion' + Bundle 'ton/vim-bufsurf' Bundle 'Gundo' Bundle 'The-NERD-tree' @@ -51,6 +52,7 @@ set smarttab set autoindent set nowrap +set hidden set ruler set showcmd set fileencoding=utf-8 @@ -130,6 +132,11 @@ map :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . map ggVGg? nnoremap r :call NumberToggle() + +nnoremap ,bp :bprevious +nnoremap ,bf :bnext +nnoremap ,Bp :BufSurfBack +nnoremap ,Bf :BufSurfForward " } " PLUGINS