Permalink
Browse files

Add Esc for :noh and ignore node_modules.

  • Loading branch information...
1 parent a1acaee commit c29e588c7e25de8dfb4438da3c2a754a35811646 @mwbrooks committed Jun 28, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 vimrc
View
5 vimrc
@@ -63,8 +63,11 @@ set background=dark
let g:molokai_original=1 " dark grey background theme
colorscheme Monokai " or molokai, vividchalk, solarized
+" Esc in Normal Mode to clear highlighted search
+nnoremap <esc> :noh<return><esc>
+
" NERDTree configuration
-let NERDTreeIgnore=['\.rbc$', '\~$']
+let NERDTreeIgnore=['\.rbc$', '\~$', 'node_modules', 'npm-debug\.log']
map <Leader>n :NERDTreeToggle<CR>
" Command-T configuration

0 comments on commit c29e588

Please sign in to comment.