commit 6895e5259eea5af37556139dd9f7a974e5001041 parent c46e12a886b4a6618a9e834c90f6245952567115 Author: Nick Jensen <nickspoons@users.noreply.github.com> Date: Sun, 3 Sep 2023 15:29:01 +1200 Fix README autocmd suggestion (#1330) Diffstat:
| M | README.markdown | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-) diff --git 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
