Hacker News new | ask | show | jobs
by kyawzazaw 2279 days ago
i am a student and even using nano makes me feel less efficient and productive.

is there something I am missing out by not using vim?

3 comments

> is there something I am missing out by not using vim?

Being able to use vi is a very handy skill if you're a sysadmin or SSH into other computers/clusters very frequently. Since vi is part of the POSIX specification, all Unix systems would have some implementation of vi. Of course, Vim is much more powerful than a text editor like nano, but also requires more investment to learn. It won't make you a better programmer, but it might make you a faster programmer.

Learning vim at the level of vimtutor is helpful not only because it's a nearly ubiquitous editor with powerful capabilities, but also because the basic navigation is used as the default navigation method in a lot of unix command line utilities like 'less', 'diff', and the man pages.

(Oddly enough, the default navigation used for the info pages is that of emacs.)

Someone's reading this itching to type that you can simply switch the default navigation for those yourself, which is true, but it's still helpful to know these if you have to hop on someone else's machine or ssh into a remote server.

Try one of these editors for at least a month after doing the basic built-in tutorial (e.g., vimtutor) and go through the tutorial every Sunday or so as needed to refresh your memory.

Or you could also use Anki to remember the shortcuts as you learn about them and use them.

It’s hard to look like a true haxxor.