542
submitted 2 days ago* (last edited 2 days ago) by moonleay@feddit.org to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] grrgyle@slrpnk.net 22 points 1 day ago

Just get used to

  • using movement (hjkl),
  • going between insert and normal modes (i and esc),
  • undoing (u from normal mode),
  • and saving (:w and :wq).

Don't try to do it all at first, just get comfortable with the essentials. You can even just stay in insert mode (the only mode in most editors) at first.

Keep a vim basics cheat sheet handy for a couple weeks as you're building in muscle memory, then slowly work in more advanced techniques and combinations.

It doesn't take long before you start having a lot of fun just manipulating text.

PS here's a decently basic cheat sheet I found: image describing basic vim keyboard bindings and commands

[-] Passerby6497@lemmy.world 1 points 1 day ago

I always forget about :wq, mainly because escing out of interactive mode and hitting ZZ is so much quicker.

this post was submitted on 05 Nov 2024
542 points (97.7% liked)

Programmer Humor

19480 readers
250 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS