vimtutor, which I believe is installed with vim by default
Edit: My brain apparently inserted an extra word that made it seem like you were seeking said program. Leaving it though for those wondering in the future.
Yeah, but imo the best way to learn vim is to do it as you go. You only really need to know getting in and out of insert and how to write and quit. Once you’ve got that, if you wanna do something and think there’s probably a better way than moving there with the arrow keys, look it up on the Internet, remember the thing, do it a few times and you’ve learned a new thing about vim. “Surely there’s a search and replace function” yeah, is substitute with the s command. “I wanna navigate quicker within lines” use f, t and their capital versions. Combine with the quickscope plugin and you’re golden.
Learn the stuff you want to use, don’t memorize commands you don’t need
Escape first, because it wants to keep you inside the matrix and you need to tell it you are trying to escape
q!
Because you probably don’t want to save whatever you’ve accidentally done to that file trying to quit, and you have to add an exclamation point because unless you yell loudly at vim it won’t listen
easy mnemonic to quit vim: imagine you’re captain Picard in the middle of typing “:3” when Q shows up
Or, hear me out, : because you’re doing a command, and then q for quit. Probably make it wq too, to write and quit
did you know there is a vim tutor for learning how to vim?
vimtutor, which I believe is installed with vim by default
Edit: My brain apparently inserted an extra word that made it seem like you were seeking said program. Leaving it though for those wondering in the future.
Yeah, but imo the best way to learn vim is to do it as you go. You only really need to know getting in and out of insert and how to write and quit. Once you’ve got that, if you wanna do something and think there’s probably a better way than moving there with the arrow keys, look it up on the Internet, remember the thing, do it a few times and you’ve learned a new thing about vim. “Surely there’s a search and replace function” yeah, is substitute with the s command. “I wanna navigate quicker within lines” use f, t and their capital versions. Combine with the quickscope plugin and you’re golden. Learn the stuff you want to use, don’t memorize commands you don’t need
Forgot
Escape first, because it wants to keep you inside the matrix and you need to tell it you are trying to escape
q!
Because you probably don’t want to save whatever you’ve accidentally done to that file trying to quit, and you have to add an exclamation point because unless you yell loudly at vim it won’t listen
No, that doesn’t make any sense. We need something convoluted so that people don’t remember it next time it’s needed.
That’s one too many letters. Need to use x for maximum efficiency gains.