Browse files

Merge pull request #9 from josepjaume/master

Add NERDtree
  • Loading branch information...
2 parents 4224dc6 + e34a59c commit 5776cb3a3a9a13d7eda61cd38c83ebb4815cdc4e @josepjaume josepjaume committed May 3, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 vimrc
View
6 vimrc
@@ -32,6 +32,8 @@ Bundle 'tpope/vim-fugitive'
Bundle 'tpope/vim-cucumber'
Bundle 'bbommarito/vim-slim'
+Bundle 'scrooloose/nerdtree'
+
Bundle 'vim-scripts/ctags.vim'
Bundle 'hced/bufkill-vim'
@@ -286,6 +288,8 @@ map <F9> :tprev<CR>
" Ctrl-p
let g:ctrlp_map = '<leader>o'
+" NERDtree
+nmap <silent> <leader>p :NERDTreeToggle<cr>%
" Surround
" ,' switches ' and "
nnoremap <leader>' ""yls<c-r>={'"': "'", "'": '"'}[@"]<cr><esc>
@@ -296,4 +300,4 @@ nnoremap <leader>' ""yls<c-r>={'"': "'", "'": '"'}[@"]<cr><esc>
let my_home = expand("$HOME/")
if filereadable(my_home . '.vimrc.local')
source ~/.vimrc.local
-endif
+endif

0 comments on commit 5776cb3

Please sign in to comment.