From aaa946fb6bd79b9af86fbaf4b6b63fd81d839bd9 Mon Sep 17 00:00:00 2001 From: Phil Runninger Date: Sat, 19 Dec 2020 20:28:15 -0500 Subject: [PATCH] Provide alternate way to mirror the NERDTree on all tabs. --- README.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.markdown b/README.markdown index a3a62c1..7c6ba3c 100644 --- 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 :NERDTreeMirror:NERDTreeFocus +``` ### How can I change the default arrows?