Open / close
| Key / Command | Action |
|---|---|
<C-n> | Toggle NERDTree |
:NERDTreeFind | Open NERDTree and reveal the current file |
Changing the root
| Key | Action |
|---|---|
C | Set the directory under cursor as new root |
u | Move root up one directory |
cd | Change Vim's working directory to the node under cursor |
File operations
| Key | Action |
|---|---|
m | Open the NERDTree menu (create, rename, delete, copy, move) |
a | Create a new file or directory (inside the menu) |
Display
| Key | Action |
|---|---|
I | Toggle hidden files (dotfiles) |
f | Toggle file filters |
F | Toggle file display (show directories only) |
A | Zoom NERDTree pane to full width / back |
? | Toggle built-in help |
q | Close NERDTree |