I’ll indeed try to come up with some strategies to reduce the number of uninspired “just break up” comments. Though our goal isn’t silencing users, even if naive or young. We shall see how it goes :D
I know communities like these can get a little silly and they’re easy to make fun of, but they really do serve an important purpose, IMO. The number of people who have to be told that it’s not normal for your partner to scream at you, or that no, your partner actually isn’t a great person if they do fill in the blank is really sad to me. And for every person asking, there are certainly more lurking that can also benefit from reading that. They might have to wade through a bunch of nonsense and AI-generated stories to find it, but I’m glad there’s a place for it.
If you are actually interested in learning, it’s not too hard, you’ll be slow for a little bit but it pays off in the end.
First, understanding there are actions and objects and quantifiers. Actions are what you do to objects, so when you want to (d) delete, that is the action, then you’d want to specify a object. ($) being the end of the line, (^) start, (w) is word, (j), (g) is top of file and so on, these are already the words you’ll use to move along as well.
Then, for many of these we can add quantifiers, i.e. repeat x number of times.
So 3dw is delete three words and 3dj is three lines down and so on. If you want to select, it’s just swap v for d and off to the races.
Once you learn the basic concept, you really only need a few actions and a few objects to be functional.
Print/find/make a cheat sheet and put it up by your monitor or keyboard and give yourself a week.
Also, checkout the vimtudor or vim golf and play the game for a few minutes.
lemmy.world
Hot