vim master Cheat Sheet

A Software › Vim cheat sheet in English by thomasboni

vim master

5,362 views 1,912 downloads 15 Oct 2017 History
4.3 avg · 1 rating

Verticals Moves

NG
go to line N
%
go to corres­ponding (, {, [
[
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<c­har> (F<­cha­r>)
go to next (previous) occurence of <ch­ar>
t<c­har> (T<­cha­r>)
go to just before next (previous) occurence of <ch­ar>
; (,)
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<­cha­r>
change inside <ch­ar> (ex: ")
ca<­cha­r>
change around <ch­ar> (ex: ")

Macros

qa
record action in register a
q
stop recording
<N>@a
play "­a" <N> times

Badges

Nice Cheat Sheet

Comments (2)

thomasboni 10:41 30 Oct 2017

Hi, Thanks for the review ! I have updated my cheat sheet, if you see anything else, let me know. Thomas

Reply
TME520 01:07 16 Oct 2017

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", previ­oius 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

Reply

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.