mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-25 09:05:56 +08:00
Fix README autocmd suggestion (#1330)
This commit is contained in:
parent
c46e12a886
commit
6895e5259e
|
@ -178,7 +178,7 @@ autocmd BufEnter * if bufname('#') =~ 'NERD_tree_\d\+' && bufname('%') !~ 'NERD_
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
" Open the existing NERDTree on each new tab.
|
" 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:
|
or change your NERDTree-launching shortcut key like so:
|
||||||
```vim
|
```vim
|
||||||
|
|
Loading…
Reference in New Issue
Block a user