Skip to content

Commit bce2669

Browse files
nickspoonsrzvxa
authored andcommitted
Fix README autocmd suggestion (#1330)
1 parent 1043a6a commit bce2669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ autocmd BufEnter * if bufname('#') =~ 'NERD_tree_\d\+' && bufname('%') !~ 'NERD_
178178
179179
```vim
180180
" Open the existing NERDTree on each new tab.
181-
autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif
181+
autocmd BufWinEnter * if &buftype != 'quickfix' && getcmdwintype() == '' | silent NERDTreeMirror | endif
182182
```
183183
or change your NERDTree-launching shortcut key like so:
184184
```vim

0 commit comments

Comments
 (0)