vimenv

configure vim environment
git clone git://git.unixkoans.com/vimenv.git
Log | Files | Refs | Submodules

commit 242e39bb0f3dff2d35bda9ebcf721e8600dbfbb9
parent 0577229ab81a3b024395713a08a58cdc275dfc4f
Author: Xiaodong Xu <[email protected]>
Date:   Sat Jun 30 15:25:26 +0800

Configure nerdtree and tagbar

Diffstat:
_vim/conf/funcs.vim | 2+-
_vim/conf/plugin.vim | 13+++++++++++--
_vimrc | 3++-
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/_vim/conf/funcs.vim b/_vim/conf/funcs.vim @@ -1,6 +1,6 @@ " " author : Xu Xiaodong <[email protected]> -" modified : 2012 May 25 +" modified : 2012 Jun 30 " "-- update timestamps --" diff --git a/_vim/conf/plugin.vim b/_vim/conf/plugin.vim @@ -1,6 +1,6 @@ " -" author: Xu Xiaodong <[email protected]> -" modified: 2012 Jun 30 +" author : Xu Xiaodong <[email protected]> +" modified : 2012 Jun 30 " "-- plugin --" @@ -19,7 +19,16 @@ vmap <silent> <leader>i( <esc>:AlignPush<cr>:AlignCtrl lp0P0<cr>:'<,'>Align (<cr let g:Powerline_symbols='fancy' " nerdtree +let g:NERDTreeWinSize=25 +let g:NERDTreeMinimalUI=1 autocmd vimenter * NERDTree +autocmd vimenter * exe 'winc w' +nmap nc :NERDTreeToggle<cr> + +" tagbar +let g:tagbar_width=25 +let g:tagbar_compact=1 +nmap to :TagbarToggle<cr> " slime let g:slime_target='tmux' diff --git a/_vimrc b/_vimrc @@ -1,6 +1,6 @@ " " author: Xu Xiaodong <[email protected]> -" modified: 2012 Jun 28 +" modified: 2012 Jun 30 " "-- source --" @@ -103,6 +103,7 @@ map ; : imap jj <esc> nmap <leader>w :w!<cr> +nmap <leader>q :qa<cr> nmap <leader>s :source $MYVIMRC<cr> nmap <leader>e :e! $MYVIMRC<cr>