Questions tagged [nerdtree]

NERD tree is a plugin for the Vim text editor. It allows users to view and navigate the filesystem while editing.

The NERD tree allows you to explore your filesystem and to open files and directories. It presents the filesystem to you in the form of a tree which you manipulate with the keyboard and/or mouse. It also allows you to perform simple filesystem operations.

From: The NERD tree: A tree explorer plugin for navigating the filesystem

376 questions
415
votes
2 answers

vim and NERD Tree extension - adding a file

When using the vim editor with the NERDTree plugin to navigate through the tree of your project, is there an easy way to create a new source code file under the currently highlighted directory? Currently I go into my shell, add the file and then…
Daniel
  • 15,492
  • 18
  • 62
  • 83
244
votes
12 answers

How to jump back to NERDTree from file in tab?

I usually: Choose the needed file. Open it in a tab(t character, by default). But how I can jump back to NERDTree to open one more file in a tab? Temporary solution I use now in my .vimrc file: map :NERDTree /path/to/root/of/my/project But…
Nikita Fedyashev
  • 15,938
  • 11
  • 41
  • 69
243
votes
5 answers

NERDTree reload new files

If I add a file to the same directory opened in NERDTree, the only way I can see the file added is if I quit vim and start it again . Is there a way I can reload the files in NERDTree?
lesce
  • 6,074
  • 5
  • 25
  • 34
200
votes
1 answer

How can I show hidden files (starting with period) in NERDTree?

How can I make NERDTree show files that begin with an . (period)? I have a file named .hgignore in a project directory. If I browse to that directory using NERDTree, the file is not displayed within the tree. I am using gvim on Windows.
James Fassett
  • 36,630
  • 11
  • 33
  • 43
193
votes
2 answers

How to filter out files by extension in NERDTree?

I would like to *.pyc files not to be shown in NERDTree vim plugin. How to achieve that?
Arnis Lapsa
  • 39,296
  • 27
  • 111
  • 190
160
votes
7 answers

vim "modifiable" is off

Trying to create a new file with nerd tree. I hit the a key to create a new file and i get the message: E21: Cannot make changes, 'Modifiable' is off I'm using MacVim and Janus (almost out of the box)
wesbos
  • 24,103
  • 27
  • 99
  • 139
151
votes
2 answers

How to create a directory using nerdtree

I have been using NERDTree for a while. Every time I need to create a new directory I need to go to terminal. Is there a quick and easy way to create a directory using NERDTree. I read the doc but could not find anything.
Nick Vanderbilt
  • 31,184
  • 26
  • 77
  • 102
123
votes
6 answers

How to add NERDTree to your .vimrc

How do I add NERDTree to my .vimrc?
chutsu
  • 12,484
  • 18
  • 60
  • 83
109
votes
5 answers

NerdTree - Reveal file in tree

Is there a shortcut which reveal the current file in the NerdTree directory panel. Like TextMate 'Reveal file in Drawer' - Ctrl+Command+R
Akshay Rawat
  • 4,454
  • 5
  • 38
  • 60
109
votes
2 answers

Renaming or copying files and folder using NERDTree on Vim. Is it possible?

I checked the documentation and I couldn't find a way o renaming or copying files and folder using NERDTree. Is it possible?
alexchenco
  • 47,739
  • 69
  • 219
  • 389
104
votes
9 answers

Switching between tabs in NERDTree

I've just started using the NERDTree vim plugin for my project. I can't find the documentation for switching between opened tabs. Can anyone tell me the shortcut key[s] ? Thanks...
Rimian
  • 32,654
  • 13
  • 106
  • 109
85
votes
4 answers

VIM: How can i open a file at right side as vsplit from a left side NerdTree panel?

I installed NerdTree plugin. How can i open a file at right side as vsplit from a left side NerdTree panel ?
shibly
  • 11,180
  • 33
  • 97
  • 162
57
votes
5 answers

Automatically quit vim if NERDTree is last and only buffer

I have the following in my .vimrc: """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Open NERDTree by default """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" autocmd VimEnter * NERDTree autocmd VimEnter * wincmd…
g33kz0r
  • 7,747
  • 5
  • 38
  • 50
53
votes
7 answers

How to open a file in new tab by default in NERDTree?

I want a file to be opened in a new tab when I enter or double click it. I know there is t shortcut but I always open a file in a new tab and enter is more confortable for me.
alice
  • 2,347
  • 4
  • 20
  • 26
53
votes
6 answers

How to refresh in NERDTree plugin

When I open a file in vim with (Directory A in) NERDTree, it works well. But if I open one more file in another directory (Directory B), it doesn't refresh to show the contents of directory B (While it still shows directory A). Can NERDTree…
Toress
  • 821
  • 1
  • 7
  • 11
1
2 3
25 26