summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-10-28 14:27:39 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-10-28 14:27:39 +0100
commit94f008a626fdbce44b124867e43ec8992004c25b (patch)
treeb1176cc671564442709e30a236be26619685daa2
parent74aae471bccd31d1eff60645cc36dfb8523dc0cc (diff)
downloadvim-94f008a626fdbce44b124867e43ec8992004c25b.zip
vim-94f008a626fdbce44b124867e43ec8992004c25b.tar.gz
vimrc: add ctrlp_bdelete, colorcolumn, <C-n> NERDTreeToggle
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index fc8a36b..636e789 100644
--- a/vimrc
+++ b/vimrc
@@ -29,6 +29,7 @@ Bundle 'vim-scripts/javacomplete'
Bundle 'vim-scripts/taglist.vim'
Bundle 'bling/vim-airline'
Bundle 'kien/ctrlp.vim'
+Bundle 'd11wtq/ctrlp_bdelete.vim'
call vundle#end() " required
filetype plugin indent on " required
@@ -70,6 +71,7 @@ set showcmd " display incomplete commands
set incsearch " do incremental searching
set number " show line number
set showmode " show current mode
+set colorcolumn=80 " add vertical bar
" files
set ff=unix
@@ -105,6 +107,10 @@ let Tlist_Enable_Fold_Column = 0 " no fold column (only showing one file)
nmap <leader>e :CtrlP<cr>
nmap <leader>ep :CtrlPBuffer<cr>
nmap <leader>em :CtrlPMixed<cr>
+call ctrlp_bdelete#init()
+
+" nerdtree
+map <C-n> :NERDTreeToggle<CR>
" buffers : hidden -> can leave modified buffers hidden
set hidden