mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-22 10:34:59 +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
|
||||
" 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user