From 6895e5259eea5af37556139dd9f7a974e5001041 Mon Sep 17 00:00:00 2001 From: Nick Jensen Date: Sun, 3 Sep 2023 15:29:01 +1200 Subject: [PATCH] Fix README autocmd suggestion (#1330) --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 27aa314..2f97d07 100644 --- a/README.markdown +++ b/README.markdown @@ -178,7 +178,7 @@ autocmd BufEnter * if bufname('#') =~ 'NERD_tree_\d\+' && bufname('%') !~ 'NERD_ ```vim " Open the existing NERDTree on each new tab. -autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif +autocmd BufWinEnter * if &buftype != 'quickfix' && getcmdwintype() == '' | silent NERDTreeMirror | endif ``` or change your NERDTree-launching shortcut key like so: ```vim