Vim NERDTree Cheat Sheet

A Software › Vim cheat sheet in English by StepK

NERD tree (4.2.0) quickhelp

164,655 views 15,435 downloads 27 May 2013 History
5.0 avg · 11 ratings

Files

o: open in prev window
go: preview
t: open in new tab
T: open in new tab silently
i: open split
gi: preview split
s: open vsplit
gs: preview vsplit

Direct­ories

o: open & close
O: recurs­ively open
x: close parent
X: close all children recurs­ively
e: explore selected dir

Bookmarks

o: open bookmark
t: open in new tab
T: open in new tab silently
D: delete bookmark

Filesystem

C: change tree root to selected dir
u: move tree root up a dir
U: move tree root up a dir but leave old root open
r: refresh cursor dir
R: refresh current root
m: Show menu
cd: change the CWD to the selected dir
CD: change tree root to CWD

Tree navigation

p: go to parent
P: go to root
K: go to first child
J: go to last child
<C-­k>: go to prev sibling
<C-­j>: go to next sibling

Tree filtering

I: hidden files (off)
f: file filters (on)
F: files (on)
B: bookmarks (off)

Other commands

q: Close the NERDTree window
A: Zoom (maxim­ize­-mi­nimize) the NERDTree window
?: toggle help

Badges

Essential Cheat Sheet Useful Cheat Sheet Great Cheat Sheet Nice Cheat Sheet Good Cheat Sheet Appreciated Cheat Sheet Downloaded from Unusual Locations × 10

Comments (2)

john 16:06 28 Mar 2016

Thank you Luis. These guys are so dumb...didnt even include how to switch between tabs.

Reply
Luis Larrea 20:41 25 Feb 2015

gt = next tab gT = previous tab

Reply

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.