From 503d1958386ecb12c8bb90dfeabc52ff9913bb6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Sbrocco=20Figueiredo?= <33270103+andresbrocco@users.noreply.github.com> Date: Fri, 15 May 2020 18:00:13 -0300 Subject: [PATCH] Suggestion made by issue #1125 --- _Footer.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_Footer.md b/_Footer.md index f14d700..88b06d4 100644 --- a/_Footer.md +++ b/_Footer.md @@ -4,4 +4,7 @@ " 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!) \ No newline at end of file +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: +```vim +let g:plug_window = 'noautocmd vertical topleft new' +``` \ No newline at end of file