summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-04-30 18:04:50 +0200
committerTobias Klauser <tklauser@distanz.ch>2021-04-30 18:04:50 +0200
commit083ff6ca54160b68865478100241f079d580587a (patch)
treeeea9a791a4bad22c7f45cc30d9b70982bb5b1dee
parent78f7c7f43aefa246f14b1efd4d6801adc6e746bc (diff)
Ignore certain files in NERDTree
-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>
" }}}