Show Menu

vim master Keyboard Shortcuts by

vim master
vim

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<char> (F<char>)
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

Download the vim master Keyboard Shortcuts

1 Page
//media.cheatography.com/storage/thumb/thomasboni_vim-master.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

Comments

TME520 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", 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

thomasboni 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

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          VI Editor Cheat Sheet
          Vim NERDTree Cheat Sheet
          cVim Keyboard Shortcuts