this post was submitted on 17 Jul 2024
82 points (97.7% liked)
Ask Experienced Devs
1232 readers
1 users here now
Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That doesn't explain a preference for vi(m) over nano, tho
How could I live without dd, vap, 99j, 99k, 555gg, zt, zz, zb, [, ]?
If these were the only vim commands it would still be better than Nano.
For me it's plain ol' tT and fF. I get frightfully bored when a text field makes me use Home/End/arrows 😪
It's like, I know where I want the cursor, just let me GO there. And no manually moving my cursor into position is not it. It's so not it
I don't know this command, about to test it out.
I always use 0 and $, then W and B to leapfrog words manually 💀
Thanks!
Welcome! I also stumbled upon these after I'd been using vim for a while. You've probably seen them in guides but glossed over them like I did originally. But once you get used to using these keys, you'll wonder how you lived without them!
Used in combos like
f(dib
(delete function parameters), or2t.
(go back two periods, or sentences) they're so great for moving within a long row.