|
:Git [command]
|
Any arbitrary git command
|
|
:Gstatus
|
Git status, g? for commands
|
|
:Gdiff
|
See diff or open conflict resolution
|
|
:Gread
|
Take content from other window
|
|
:Gwrite
|
Insert content into other window
|
|
dp
|
Put specific conflict line into resolved version
|
|
:Gblame
|
Git blame, g? for commands
|
|
:Gremove
|
Remove locally and from repo
|
|
:Gmove
|
Rename file locally and in repo
|
|
:Gpush
|
Push changes to remote
|
|
:Glog
|
See file history, :cnext/:cprev/:Gedit
|
|
ds[curr]
|
Delete surrounding [curr]s
|
|
cs[curr][new]
|
Swap surrounding [curr]s for [new]s
|
|
cst[new]
|
Swap surrounding html tag for [new]
|
|
ysiw[new]
|
Surround word with [new]s
|
|
yss[new]
|
Surround line wiht [new]s
|
|
Ctrl-n
|
cursor on next word
|
|
Ctrl-p
|
cursor on previous word
|
|
Ctrl-x
|
cursor skips current word
|
|
Enter
|
Interactive Mode
|
|
Enter + ctrl-r
|
Set right margin
|
|
Enter + ctrl-l
|
Set left margin
|
|
Enter + ctrl-/
|
Align on regex
|
|
Enter + ctrl-a
|
Alignment mode
|
|
Enter + ctrl-u
|
Do not ignore unmatched
|
|
ctrl-p
|
Open Ctrl-P Fuzzy Search
|
|
ctrl-d
|
Toggle full-path and filename
|
|
ctrl-r
|
Toggle string and regex mode
|
|
ctrl-f/b
|
Scroll buffer, mru, files
|
|
ctrl-j/k
|
Scroll matches
|
|
ctrl-o
|
Mark file to be opened
|
|
ctrl-y
|
Create file
|
|
<space>,
|
Buffer Search
|
|
<Space>[motion]
|
Move large [motion] distances
|
|
<Space>s
|
Search for pattern
|
|
m[A-Za-z0-9]
|
Set mark
|
|
m,
|
Set next available mark
|
|
m.
|
Place next available mark or clear
|
|
]'
|
Next mark
|
|
['
|
Previous mark
|
|
'?
|
List marks
|
|
`[A-Za-z0-9]
|
Go to mark
|
|
m<Space>
|
Clear all marks
|
|
P
|
Go to root directory
|
|
p
|
Go to parent directory
|
|
K
|
Go to first child
|
|
J
|
Go to last child
|
|
C
|
Change root directory to highlighted
|
|
u
|
Move tree root up one directory
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.