Skip to content

Commit

Permalink
Add Esc for :noh and ignore node_modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwbrooks committed Jun 28, 2012
1 parent a1acaee commit c29e588
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vimrc
Expand Up @@ -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
Expand Down

0 comments on commit c29e588

Please sign in to comment.