Cheatography
https://cheatography.com
Verticals Moves
NG |
go to line N |
% |
go to corresponding (, {, [ |
[ |
go to the end of a function |
* (#) |
go to next (previous) occurence of word |
Horizontal Moves
0 |
go to column 0 |
^ |
go to first char |
$ |
go to last colum |
w (e) |
go to the start (end) of the following word |
b |
go to the start of the previous word |
f<char> (F<char>) |
go to next (previous) occurence of <char> |
t<char> (T<char>) |
go to just before next (previous) occurence of <char> |
; (,) |
go to next (previous) occurence after a f or t |
|
|
Edition
gU |
uppercase |
gu |
lowercase |
cw |
change word |
cc |
change entire line |
ce |
change from cursor to end of word |
c$ |
change to the end of line |
ci<char> |
change inside <char> (ex: ") |
ca<char> |
change around <char> (ex: ") |
|
|
Macros
qa |
record action in register a |
q |
stop recording |
<N>@a |
play "a" <N> times |
|
Created By
Metadata
Comments
TME520, 01:07 16 Oct 17
Hi,
Nice cheat sheet.
I spotted a few minor things I would like to see changed:
- Use a capital letter at the start of the block names (sorry, it triggers my OCD),
- In "vertical moves", previoius should be previous,
- In the leftmost column of "edition", you could use the {{nobreak}} tag so words don't get truncated.
That's it.
Thanks again for your time !
TME520
thomasboni, 10:41 30 Oct 17
Hi,
Thanks for the review !
I have updated my cheat sheet, if you see anything else, let me know.
Thomas
Add a Comment
Related Cheat Sheets