For questions about the plugin nerdtree: A tree explorer plugin for Vim.
Questions tagged [plugin-nerdtree]
116 questions
52
votes
6 answers
How do I open and close NERDTree (toggle NERDTree view) using a single keystroke?
Sometimes in my workflow, I might want to open or search for a file on the go.
I'd like to map a single key (say F6) to open and close NERDTree (i.e., I want to toggle the NERDTree view). Also, I'd like NERDTree to display hidden files and folders…
evil_potato
- 623
- 1
- 6
- 7
27
votes
1 answer
How to install NERDTree with Vundle?
I'm starting to use Vim and I chose Vundle instead of Pathogen.
I would like to know if I can install the NERDTree using Vundle.
I'm starting Vim and searching for NERDTree like this:
:BundleSearch NERDTree
But it is not finding the plugin,…
João Calvin
- 373
- 1
- 3
- 4
11
votes
1 answer
NERDTree How to open a file and automatically close the explorer buffer
When using NERDTree plugin the default behavior is to open a new file and keeping the NERDTree buffer open. What I want to do is to keep this default behavior but also overriding it when I want so the NERDTree buffer will be closed after I opened a…
statox
- 49,782
- 19
- 148
- 225
5
votes
2 answers
Refresh files in NERDTree?
How do I refresh file tree in NERDTree ?
If I use:
:!touch SomeNewFile
It is not rendered in the tree.
JaDogg
- 417
- 4
- 12
5
votes
2 answers
NERDTree on Vim
I'm running into a problem that I've never really ran into before with my setup. I've set up my NERDTree config in the .vimrc so that every time that I open a directory NERDTree will also open but it should also stay open when I open a file…
Van-Sama
- 151
- 1
3
votes
1 answer
Execute a file from nerdTree
With the default file explorer (netrw) you can press x to open a file or directory with the system default application. Is there an easy way I can do the same with nerdTree? I can't find the option. Thanks.
Wylex
- 563
- 4
- 13
2
votes
1 answer
when viewing the nerdtree window, how can i widen it?
I know if i have a horizontal pane at the bottom I can write something like
copen 50
and make it taller. How can i make a vertical pane wider?
abbood
- 733
- 9
- 23
2
votes
1 answer
NERDTree-go does not leave cursor in the NERDTree
NERDTree.txt says:
go.......Open selected file, but leave cursor in the NERDTree......|NERDTree-go|
Open selected bookmark dir in current NERDTree
But when I typo go in a NERDTree buffer, selected file is opened in the current window, same…
bengal
- 21
- 2
2
votes
1 answer
Weird extra text after my file name in nerdtree {language}
I'm not sure if it is duplicated or not, I tried to find Google also in here but cannot find the correct answer.
I do not know why it shows {language} next to the file languages.js, as I use almost the same vimrc on my Ubuntu, and it does not show…
Sang Dang
- 121
- 4
2
votes
1 answer
how to split panes (vertically and horizontally) straight from nerdree
This question is a follow up to this one (graphs copied from there). The OP was wondering how to split the pane of File 3 horizontally.
/========================================================\
| | | …
abbood
- 733
- 9
- 23
2
votes
2 answers
Disable cursorline when leaving NERD tree window
I want to disable cursorline when leaving the NERD tree window and enable it when entering the window again.
The following setting works fine when using w or similar, but not when . Hitting opens the file in other window, moves to it,…
aosho235
- 21
- 2
1
vote
1 answer
NERDTree Leaving Empty Space on Bottom of Window
I've been using NERDTree forever, but recently it started doing something odd. When I open the NERDTree Menu, it adds this block of space at the bottom of the window, and I can't get rid of it (besides re-launching vim). I tried to isolate just…
Brian Ray
- 123
- 5
1
vote
2 answers
How to close NerdTree Menu?
I use Vim plugin NerdTree. If I have to quickly add a file, the NerdTreeMenu I get by pressing m is very helful.
How I can close my NerdTreeMenu? I'm unable to find information in any documentation on closing the NerdTree menu.
Senthil Kumaran
- 161
- 6
1
vote
1 answer
How to toggle from file to NERDtree showing the directory that keeps the file in current window?
When I open a vertical split by providing the path to a directory with :vsplit /my/dir the split window opens with NERDtree showing the directory. I then open a file /my/dir/file. I would then love to switch back to the inital view showing NERDtree…
Wolfson
- 173
- 1
- 7
1
vote
0 answers
Highlight all files open in buffer in NERDTree
Is it possible to get a list of all files in the buffer? And if so can we highlight all of them in NERDTree?
maged
- 195
- 4