From c5301fd4697089d3aad077a8943898f53f58fda9 Mon Sep 17 00:00:00 2001 From: Phil Runninger Date: Sat, 19 Dec 2020 11:30:36 -0500 Subject: [PATCH] Destroyed _Footer (markdown) --- _Footer.md | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 _Footer.md diff --git a/_Footer.md b/_Footer.md deleted file mode 100644 index f36207a..0000000 --- a/_Footer.md +++ /dev/null @@ -1,10 +0,0 @@ -## How can I make sure vim does not open files and other buffers on NerdTree window? - -```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 -``` -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 -let g:plug_window = 'noautocmd vertical topleft new' -``` \ No newline at end of file