Cheatography
https://cheatography.com
Personal Cheatsheet for new shortcuts.
This is a draft cheat sheet. It is a work in progress and is not finished yet.
EasyMotion
|
<leader><leader><motion> |
|
quickMotion to words |
Vim Commentary
|
comment selected |
|
toggle comment line |
|
uncomment adjacent lines |
IntelliJ
|
expand selection |
|
duplicate line/selection |
|
Surround with statement |
|
Unwrap (surround) statement |
|
Extract Variables |
|
Extract Method |
|
Expand Problem |
|
Recent Files |
>Recent Locations |
Recent files with code snippets |
|
|
|
open/close all folds |
|
open/close fold |
|
CamelCase motion |
|
|
Vim Multiple Cursors
|
Start multi cursor mode, select current word, or select next occurence when a selection exists |
|
deselect current an select next occurrence |
|
deselect current and got to previous |
|
exit mode |
Vim Window Managment
|
Split vertically |
|
Change Window |
|
Close window |
|
Close all other windows |
|
Got to top left / bottom right |
Vim Surround
|
change surrounding ( to { |
|
change surrounding <tag> to " |
|
delete surrounding " |
|
surround word with " |
|
surround sentence with "` |
|
V S<p class="important">
|
surround line with <p></p> tag |
Vim Replace With Register
[count]["x]gr{motion}
|
Replace motion with contents of register "x
|
|
Replace word with contents of unnamed register |
|
Replace line with contents of unnamed register |
|