mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-12 05:13:50 -05:00
Updated _Footer (markdown)
@@ -1,4 +1,6 @@
|
|||||||
## How can I make sure vim does not open files and other buffers on NerdTree window?
|
## How can I make sure vim does not open files and other buffers on NerdTree window?
|
||||||
|
|
||||||
|
```vim
|
||||||
" If previous buffer was NERDTree, go back to it.
|
" If previous buffer was NERDTree, go back to it.
|
||||||
autocmd BufEnter * if bufname('#') =~# "^NERD_tree_" | b# | endif
|
autocmd BufEnter * if bufname('#') =~# "^NERD_tree_" | b# | endif
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user