-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add note in README: trick to open NERDTree as a window on startup. #628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -100,6 +100,15 @@ Stick this in your vimrc: | |||
|
|||
Note: Now start vim with plain `vim`, not `vim .` | |||
|
|||
|
|||
--- | |||
> How can I open NERDTree as a tab window automatically when vim starts up on opening a directory? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like the term "tab window". Tabs and Windows are separate things in vim, and putting them together like this is a bit confusing. I suggest just "window".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I meant b:NERDTree._type == "tab"
here. But it's really confusing for others.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Martin uses the term "tab tree" in #494. How do you like this sentence?
How can I open NERDTree as a tab-tree window automatically when vim starts up on opening a directory?
This is very similar to, and better than, another tip in the README. Go ahead and remove this one while you're at it.
|
Adjusted the wording of one of the tips, and added a sentence about the type of NERDTree window that is displayed. See pull reqest #628.
Adjusted the wording of one of the tips, and added a sentence about the type of NERDTree window that is displayed. See pull reqest preservim#628.
Thank you @ggicci !!! |
Update README file, add directives to open NERDTree as a window automatically when vim starts up on opening a directory. Which can prevent NERDTree from hiding when first file selected as issue #494 pointed out.