mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-10 12:23:49 -05:00
Updated _Footer (markdown)
@@ -4,7 +4,7 @@
|
|||||||
" If more than one window and previous buffer was NERDTree, go back to it.
|
" If more than one window and previous buffer was NERDTree, go back to it.
|
||||||
autocmd BufEnter * if bufname('#') =~# "^NERD_tree_" && winnr('$') > 1 | b# | endif
|
autocmd BufEnter * if bufname('#') =~# "^NERD_tree_" && winnr('$') > 1 | b# | endif
|
||||||
```
|
```
|
||||||
If you are using vim-plug, you'll also need to add these lines to avoid crashes when calling vim-plug functions while the cursor is on the NERDTree:
|
If you are using vim-plug, you'll also need to add these lines to avoid crashes when calling vim-plug functions while the cursor is on the NERDTree window:
|
||||||
```vim
|
```vim
|
||||||
let g:plug_window = 'noautocmd vertical topleft new'
|
let g:plug_window = 'noautocmd vertical topleft new'
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user