Mercurial > dotfiles
diff vim/vimrc @ 92:64c42f5c9a97
Open NERDTree in the current file's path.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 28 Mar 2012 16:10:38 -0700 |
parents | a54180045075 |
children | 822fc8b4405f |
line wrap: on
line diff
--- a/vim/vimrc Wed Mar 28 16:09:59 2012 -0700 +++ b/vim/vimrc Wed Mar 28 16:10:38 2012 -0700 @@ -262,7 +262,7 @@ nnoremap <C-right> :wincmd l<cr> " Open NERDtree. -nnoremap <F2> :NERDTreeToggle<cr> +nnoremap <F2> :NERDTreeToggle %:p:h<cr> " Switch buffers. nnoremap <F3> :execute ("buffer " . bufname("#"))<cr>