Skip to content

Comment on Vim Cheat Sheet - For Programmers By Programmersparent

Comments

(a bit cheating since it's more than 10, but just 10 is not enough for even basic use)

1) Cursor movement commands (hjkl)

2) Move by word (w and b) and page (^f and ^b)

3) Search for word under cursor (forward * and backward #)

4) File commands (:w, :new)

5) Split buffer (:split) and buffer movement (^w and hjkl)

6) Tab commands (:tabnext, :tabnext etc, bound to ",tn", ",n", ",p" etc)

7) File explorer (:Explore(), bound to ,f)

8) Move to start and end of file (gg and G)

9) Switch modes (v, V for linewise, i, esc)

10) Basic register operations (dd, y, p, P)

(To write these down I had to actually open vim and do the things I described - and for some, the conscious thought I put into it prevented me from actually doing it - says something about how ingrained they become)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.