The file is opened with the 'return' key on the current tab or with the 't' key to open it on a new VIM tab.
If you want to close NERDTree window make sure you are inside the NERDTree menu. You can switch windows by using ctrl+w then type :q to close NERDTree window so that you will be left with the window for editing your code.
Keymap to Refresh NERDTree Once set, pressing Leader + r would refresh NERDTree .
Press m to bring up the NERDTree Filesystem Menu. This menu allows you to create, rename, and delete files and directories.
Add the following to your .vimrc
let NERDTreeQuitOnOpen=1
Try :help nerdtreequitonopen
.
Add this line to your .vimrc
:
let NERDTreeQuitOnOpen='Value'
and Values :
Value | NERDTree Window Behavior -------+------------------------------------------------------- 0 | No change 1 | Closes after opening a file 2 | Closes the bookmark table after opening a bookmark 3(1+2) | Same as both 1 and 2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With