Comments on: 10 Reasons Why You Should Use Vi/Vim Text Editor in Linux https://www.tecmint.com/reasons-to-learn-vi-vim-editor-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 02 Feb 2023 13:02:55 +0000 hourly 1 By: Aaron https://www.tecmint.com/reasons-to-learn-vi-vim-editor-in-linux/comment-page-1/#comment-1956059 Thu, 02 Feb 2023 13:02:55 +0000 http://www.tecmint.com/?p=25378#comment-1956059 In reply to Cameron.

11. Ted Bundy, the most famous serial killer actually helped people on suicide hotlines, doesn’t mean he was a good person. This sounds like an ad hominem to me.

12. This sounds like The Procrustean Fallacy. Viruses are everywhere, doesn’t mean I want to catch one.

13. Uh, no I don’t. Seriously? With this argument, you are saying if you don’t already know vi you should learn it because… Do you already know it? I mean, why do you know it? Because you were forced to learn it.

I never learned vi and I refuse to waste any time learning it because, hey, I don’t need to because there are plenty of other much better options out there and easily available (helping to invalidate #12 above even more).

Quite frankly I don’t care why it was made. What I know is it is massively cumbersome for 99% of what I do and the other 1% can be accomplished with other simpler modern tools. Use a tool because it makes your life better, not because someone had a great reason to create it in the first place.

]]>
By: Cameron https://www.tecmint.com/reasons-to-learn-vi-vim-editor-in-linux/comment-page-1/#comment-1955841 Thu, 02 Feb 2023 02:55:57 +0000 http://www.tecmint.com/?p=25378#comment-1955841 You left out three of my reasons.

11. It’s charityware. It’s the only text editor that has built a hospital and an orphanage. If you don’t believe me, start vim and type :help uganda.

12. It’s everywhere. vi-like editors (usually vim) are available on every computer you are likely to use ever. Not only that, but it’s in your shell and your mysql monitor, and your python interpreter. Because the GNU Readline library knows most of the vi’s edit commands. Edit /etc/inputrc and add a line.

set editing-mode vi

and you will be able to recall, edit, and reuse previous commands, correct typos, etc. I do not know why people like GNU Readline’s default Emacs mode.

13. You already know it. Muscle memory. Once you learn to use it how it was designed to be used, its visual edit language becomes the most natural way to use a computer.

And if you don’t know how vi was designed to be used, it will seem cumbersome and clunky and you won’t know why anybody likes it. So it would help if you read about that visual edit language, in Bill Joy’s paper on the subject.

https://docs.freebsd.org/44doc/usd/12.vi/paper.html

]]>
By: vimmer https://www.tecmint.com/reasons-to-learn-vi-vim-editor-in-linux/comment-page-1/#comment-1932200 Sat, 17 Dec 2022 18:15:32 +0000 http://www.tecmint.com/?p=25378#comment-1932200 Vim is only for those that are good at typing. For people who know well how to use the keyboard, vim is a perfect tool. For the rest of the people, it is simply impossible to use vim. Nano instead (and any other typical editor I have tested, such as gedit or Geany) is much less powerful to deal with huge files.

The test: to open and manage a file with the number 7^(7^7) (with all its integer digits) written on it. Nano does not crash, but suffers too much to deal with that file. Gedit crashes and makes the computer crash. Vim does not fail. What is more, vim works as well as if the file was one of a simple 100 B text.

]]>
By: Aaron Bono https://www.tecmint.com/reasons-to-learn-vi-vim-editor-in-linux/comment-page-1/#comment-1466509 Wed, 31 Mar 2021 17:38:44 +0000 http://www.tecmint.com/?p=25378#comment-1466509 In reply to dragonmouth.

OMG, I am dying with laughter here. Very well and accurately said. Vi needs to die.

]]>
By: Aaron Bono https://www.tecmint.com/reasons-to-learn-vi-vim-editor-in-linux/comment-page-1/#comment-1466501 Wed, 31 Mar 2021 17:36:06 +0000 http://www.tecmint.com/?p=25378#comment-1466501 I have NEVER, in my nearly 25 years of web development and server administration, seen a way vi can be better than something simple like nano. I guess if you are a super power user nerd who wants to customize your editor (of thousands of IT people I have worked with NONE of them has bothered to do this) it can be helpful.

If editing massively large files it could be helpful but I just use easier tools like sed, awk and grep. And fun? Are you insane? The last thing I want to do is have to spend 6 months learning all the absurd finger acrobatics required to do something as simple as change a typo.

Personally I think all the vi users love it only because they are trying to justify all the time they sank into learning the over-engineered tool and because they like the elitist feeling they get from knowing something massively complex (even though that complexity has no practical value).

Personally I find it sad that this is the best you can do in providing a top 10 reasons to use the tool.

]]>