658
vimrule (lemmy.blahaj.zone)

First time when you ssh into your Linux terminal and you gotta “sudo crontab -e” or something and it’s like “what editor do you want to use?” and nano sounds lame so you choose vim cause the sound is cool when you say it and then you have to wipe the whole comp and start over

you are viewing a single comment's thread
view the rest of the comments
[-] commandar@lemmy.world 22 points 11 months ago

vi isn't a text editor as much as it's a text manipulation language.

It has a syntax, grammar, idioms, and, yes, a learning curve.

But once you learn it, it's as close to a brain-computer interface as I've experienced. You start thinking about edits as chainable operations and it literally becomes muscle memory -- if you ask someone experienced with vi how they just did a complex sequence of edits, chances are they'll have to stop and consciously walk through it because they literally didn't have to think about it the first time.

[-] hulemy@ani.social 5 points 11 months ago

got any online course recommendations? my college recommended missing semester for the basics of the basics, but i know there are so many more and other vim workflows (easy motions etc)

although i should first start getting into touch typing

[-] CriticalMiss@lemmy.world 2 points 11 months ago

In the terminal write ‘vimtutor’, that covers the basics.

this post was submitted on 25 Dec 2023
658 points (100.0% liked)

196

16597 readers
1743 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS