Skip to content

A question asked by many VIM / NERDTree newcomers #219

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

Merged
merged 1 commit into from
Jan 2, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ __Q. How can I open a NERDTree automatically when vim starts up if no files were

A. Stick this in your vimrc `autocmd vimenter * if !argc() | NERDTree | endif`

__Q. How can I map a specific key or shortcut to open NERDTree?__

A. Stick this in your vimrc to open NERDTree with `Ctrl+n` (you can set whatever key you want): `map <C-n> :NERDTreeToggle<CR>`

__Q. How can I close vim if the only window left open is a NERDTree?__

A. Stick this in your vimrc:
Expand Down