diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2021-04-30 18:04:50 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2021-04-30 18:04:50 +0200 |
commit | 083ff6ca54160b68865478100241f079d580587a (patch) | |
tree | eea9a791a4bad22c7f45cc30d9b70982bb5b1dee | |
parent | 78f7c7f43aefa246f14b1efd4d6801adc6e746bc (diff) |
Ignore certain files in NERDTree
-rw-r--r-- | .vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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> " }}} |