Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

how to make nerdtree always show in each new tab #96

Open
JIAKanghao opened this issue Sep 25, 2018 · 1 comment
Open

how to make nerdtree always show in each new tab #96

JIAKanghao opened this issue Sep 25, 2018 · 1 comment

Comments

@JIAKanghao
Copy link

Hi all,

Is there any method to make nerdtree always automatically show in a each tab even a new tab is open through press t in nerdtree?

Thanks

@tobias-wilfert
Copy link

You could do something like this:

autocmd BufWinEnter * NERDTree

Or more specifically:

" Open the existing NERDTree on each new tab.
autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants