From 02b921b4d7d897e4bbe71a83975c8f564c31d7fc Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 5 May 2015 14:26:01 +0100 Subject: added buffergator plugin --- vimrc | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/vimrc b/vimrc index 3526948..a760deb 100644 --- a/vimrc +++ b/vimrc @@ -15,6 +15,7 @@ Plugin 'christoomey/vim-tmux-navigator' Plugin 'edkolev/tmuxline.vim' Plugin 'godlygeek/tabular' Plugin 'gregsexton/gitv' +Plugin 'jeetsukumaran/vim-buffergator' Plugin 'honza/vim-snippets' Plugin 'kien/ctrlp.vim' Plugin 'scrooloose/nerdtree' @@ -35,6 +36,9 @@ filetype plugin indent on syntax on "" Plugins options +let g:buffergator_display_regime='bufname' +let g:buffergator_vsplit_size=30 + let g:LatexBox_Folding=0 let g:LatexBox_latexmk_preview_continuously=1 let g:LatexBox_quickfix=2 @@ -151,10 +155,10 @@ let mapleader = "\\" let maplocalleader = "-" nmap -" Tabs -nnoremap we :tabedit -nnoremap wn :tabnew -nnoremap wo :tabonly +" New pages +nnoremap pe :tabedit +nnoremap pn :tabnew +nnoremap po :tabonly " Toggles nnoremap tb :let &background = ( &background == "dark"? "light" : "dark" ) @@ -172,7 +176,7 @@ nnoremap sv :source ~/.vimrc nnoremap sc :source % " Plugin Management -nnoremap pi :PluginUpdate +nnoremap pi :PluginInstall nnoremap pu :PluginUpdate nnoremap pc :PluginClean @@ -195,7 +199,7 @@ nnoremap O " Misc nnoremap nnoremap Q :bd! -nnoremap _ :w +nnoremap w :w nnoremap q :q! nnoremap h :e %:p:s,.hpp$,.X123X,:s,.cpp$,.hpp,:s,.X123X$,.cpp, nnoremap J mzJ`z -- cgit v1.2.3