mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-10 12:23:49 -05:00
Updated _Footer (markdown)
@@ -3,4 +3,5 @@
|
||||
```vim
|
||||
" If more than one window and previous buffer was NERDTree, go back to it.
|
||||
autocmd BufEnter * if bufname('#') =~# "^NERD_tree_" && winnr('$') > 1 | b# | endif
|
||||
```
|
||||
```
|
||||
(Careful if you are using vim-plug: if you set this config and run 'PlugInstall', for instance, while your cursor is on the NERDTree, it will crash!)
|
||||
Reference in New Issue
Block a user