Show Menu
Cheatography

IdeaVim various Plugins Keyboard Shortcuts (DRAFT) by

Personal Cheatsheet for new shortcuts.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

EasyMotion

 \\ 
<le­ade­r><­lea­der­><m­oti­on>
 \\w 
quickM­otion to words

Vim Commentary

gc<­mot­ion>
comment selected
gcc
toggle comment line
gcgc
uncomment adjacent lines

IntelliJ

Alt Shift ->
expand selection
Alt Shift down
duplicate line/s­ele­ction
Ctrl Alt T
Surround with statement
Ctrl Shift Del
Unwrap (surround) statement
Ctrl Alt V
Extract Variables
Ctrl Alt M
Extract Method
Ctrl F1
Expand Problem
CTRL E
Recent Files
>Recent Locations
Recent files with code snippets
 
 
zR / zM
open/close all folds
zo / zc
open/close fold
[w ]w [b
CamelCase motion
 

Vim Multiple Cursors

 <AL­T-n> 
Start multi cursor mode, select current word, or select next occurence when a selection exists
<AL­T-x>
deselect current an select next occurrence
<AL­T-p> 
deselect current and got to previous
C-c / Esc
exit mode

Vim Window Managment

CTRL-W v
Split vertically
CTRL-W <mo­tio­n>
Change Window
CTRL-W c
Close window
CTRL-W o
Close all other windows
CTRL-W t/b
Got to top left / bottom right

Vim Surround

cs({
change surrou­nding ( to {
cst"
change surrou­nding <ta­g> to "
ds"
delete surrou­nding "
ysw"
surround word with "
yss"
surround sentence with "`
 
V S<p class=­"­imp­ort­ant­">
surround line with <p>­</p> tag

Vim Replace With Register

[count­]["x­]gr­{mo­tion}
Replace motion with contents of register
"x
griw
Replace word with contents of unnamed register
grr
Replace line with contents of unnamed register