3 ms·
>Maybe Vim is a thing of the past? Maybe Vim is more useful to learn because it will always remain (it will always be installed on any Unix OS)? Plenty of peop
by vram22 10y ago
>Maybe Vim is a thing of the past? Maybe Vim is more useful to learn because it will always remain (it will always be installed on any Unix OS)?
Plenty of people use vim still, and gain a lot of productivity out of it, as others have said here and elsewhere. But it takes time to learn it well enough to get the full benefit. You can learn it incrementally, though and realize benefits as you go along. In fact you can even start with vi, the predecessor to vim (which stands for VI iMproved); vi is quite powerful in its own right (though vim is more), and may be somewhat more universally available than vim (not sure of that last point these days). Anyway, vi's commands wil be mostly a subset of vim's, so any learning of vi will transfer to vim too.
Might want to check out my really basic [1] vi quickstart tutorial for that. It can be read in under 10 to 20 minutes, and you can start applying it right away. I first wrote it for a couple of friends, who were Windows sysadmins in the company where I worked at the time. They tried it and soon after told me it helped them to get up to speed with the basics of vi quickly (they had been given additional responsibility of a few Unix boxes, so needed to know vi - this was before vim was well-known). I later published it as an article in Linux For You (now Open Source For You), an Indian print-format computer magazine.
[1] There are many vi/vim tutorials that are more advanced and cover more than mine. Also, some of them cover vi/vim in a way that really gives the true power, one key such area being understanding different cursor movement commands and text changing commands, and how to combine the two sets together (basically, the Cartesian product of them is mostly possible) to achieve larger / faster editing effects. But mine was purposely kept simple and does not cover that, so you can get started faster with vi using it - since you said (and other commenters advised) that you do not want to spend a lot of time on tools instead of actual programming, which makes sense. You can still read those other vi/vim tutorials later whenever you are ready.
You can get the vi tutorial from here (for free):
https://gumroad.com/l/vi_quick https://gumroad.com/l/vi_quick
- skdotdan 10y agoThank you very much. I'm going to read the tutorial, for sure.
- vram22 10y agoYou're welcome :) If you have any feedback on it after reading it and using vi for a bit, feel free to send me an email (address in my HN profile). I may be updating the tutorial after a while, to add a few other useful beginner vi (and maybe vim) features, and to include my own brief take on the "true power of vi" topics I mentioned in my earlier comment; so I would appreciate any feedback, and will try to incorporate it in the next version.