Show Menu
Cheatography

Shortcuts Cheat Sheet by

A list of commands for my vim plugins and terminal

fugitive

: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­/:c­pre­v/:­Gedit

vim-su­rround

ds[curr]
Delete surrou­nding [curr]s
cs[cur­r][new]
Swap surrou­nding [curr]s for [new]s
cst[new]
Swap surrou­nding html tag for [new]
ysiw[new]
Surround word with [new]s
yss[new]
Surround line wiht [new]s
 

multip­le-­cursors

Ctrl-n
cursor on next word
Ctrl-p
cursor on previous word
Ctrl-x
cursor skips current word

easy-align

Enter
Intera­ctive 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

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
<sp­ace­>,
Buffer Search
 

vim-ea­sym­otion

<Sp­ace­>[m­otion]
Move large [motion] distances
<Sp­ace­>s
Search for pattern

vim-si­gnature

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<S­pac­e>
Clear all marks

NERDTree

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 highli­ghted
u
Move tree root up one directory
               
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Vim Cheat Sheet
          Basic Vim Cheat Sheet

          More Cheat Sheets by Nuggles

          Vim Cheat Sheet
          Vimium Shortcuts Cheat Sheet
          UltiSnips Cheat Sheet