commit aaa946fb6bd79b9af86fbaf4b6b63fd81d839bd9 parent 2406c456ee73d32289c2c304ecd8dd1735bc2f2c Author: Phil Runninger <PhilRunninger@users.noreply.github.com> Date: Sat, 19 Dec 2020 20:28:15 -0500 Provide alternate way to mirror the NERDTree on all tabs. Diffstat:
| M | README.markdown | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/README.markdown b/README.markdown @@ -162,6 +162,11 @@ autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTr " Open the existing NERDTree on each new tab. autocmd BufWinEnter * silent NERDTreeMirror ``` +or change your NERDTree-launching shortcut key like so: +```vim +" Mirror the NERDTree before showing it. This makes it the same on all tabs. +nnoremap <C-n> :NERDTreeMirror<CR>:NERDTreeFocus<CR> +``` ### How can I change the default arrows?
