mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 20:35:11 +01:00
Ignore .pyc files in file tree
This commit is contained in:
1
.vimrc
1
.vimrc
@@ -31,6 +31,7 @@ Plugin 'jnurmine/Zenburn.git'
|
||||
" Quick file system tree, mapped to Ctrl+n for quick toggle
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
map <C-n> :NERDTreeToggle<CR>
|
||||
let NERDTreeIgnore = ['\.pyc$']
|
||||
" close vim if the only window left open is a NERDTree
|
||||
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user