this post was submitted on 17 Jul 2024
83 points (97.7% liked)

Ask Experienced Devs

1064 readers
1 users here now

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

I'd like actual examples instead of "I work faster", something like "I can move straight to the middle of the file with 7mv" or "I can keep 4 different text snippets in memory and paste each with a number+pt, like 2pt", things that you actually use somewhat frequently instead of what you can do, but probably only did once.

you are viewing a single comment's thread
view the rest of the comments
[–] Transform2942@lemmy.ml 9 points 2 months ago* (last edited 2 months ago)

I don't know if this comment comes from ignorance or snarkiness but it's really not the same. Other editors add in hotkeys over time to perform a single function.

Vim key bindings are actually a terse text manipulation language where you can form arbitrary "sentences" like:

  • ciw - change the current word, meaning remove it and then enter insert mode

  • D - delete until end of line

  • dt: - delete everything between the cursor and the next colon on this line

  • 10"ap Paste the contents of the a register 10 times