Skip to content

Commit

Permalink
Fix README autocmd suggestion (#1330)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickspoons authored Sep 3, 2023
1 parent c46e12a commit 6895e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ autocmd BufEnter * if bufname('#') =~ 'NERD_tree_\d\+' && bufname('%') !~ 'NERD_
```vim
" Open the existing NERDTree on each new tab.
autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif
autocmd BufWinEnter * if &buftype != 'quickfix' && getcmdwintype() == '' | silent NERDTreeMirror | endif
```
or change your NERDTree-launching shortcut key like so:
```vim
Expand Down

0 comments on commit 6895e52

Please sign in to comment.