Permalink
Browse files

add nerdtree toggle mapping to vim

  • Loading branch information...
1 parent cc3ac02 commit f0d1c68e96e635f3e43a71e2836b3586f7c677e2 @jergason committed May 5, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 .vimrc
View
5 .vimrc
@@ -8,7 +8,7 @@ au FileType python set softtabstop=4 tabstop=4 shiftwidth=4 textwidth=0
set showcmd " display incomplete commands
set background=dark
-colorscheme solarized
+colorscheme molokai
" Gutter
set number
@@ -48,6 +48,9 @@ inoremap jj <esc>
" use leader leader to jump to the previously edited file
nnoremap <leader><leader> <C-^>
+" Easier opening and closing of nerdtree
+nnoremap <leader>t :NERDTreeToggle<CR>
+
" clear search buffer when hitting return, so what you search for is not
" highlighted anymore. From Gary Bernhardt of Destroy All Software
nnoremap <CR> :nohlsearch<cr>

0 comments on commit f0d1c68

Please sign in to comment.