diff --git a/_Footer.md b/_Footer.md index 5ee53a8..b3614f7 100644 --- a/_Footer.md +++ b/_Footer.md @@ -1,4 +1,6 @@ ## 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. autocmd BufEnter * if bufname('#') =~# "^NERD_tree_" | b# | endif +``` \ No newline at end of file