summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 871bfbf..a63592f 100644
--- a/.vimrc
+++ b/.vimrc
@@ -183,6 +183,7 @@ autocmd vimenter * if !argc() | NERDTree | endif
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
let NERDTreeShowHidden=1
+let NERDTreeIgnore=['\.o$', '\~$', '\.swp']
map <Leader>nt :NERDTreeToggle<CR>
" }}}