Lista de comandos úteis do Vim

O arquivo em PDF pode ser baixado AQUI.


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


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


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


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

Deixe um comentário

Entre na discussão