Vi vs emacs4/1/2023 ![]() This helped me to really " get it" after trying to learn editing with vim several times in the past. It is an interactive tutorial which demonstrates the power of vim by showcasing it's basic commands and how they can be composed. ![]() Something I wish I would have done the first time:Ĭheck out Vimtutor. In my opinion it really is worth to give it a try even while the learning curve might be steeper than with other editors and it sounds like you bring the necessary motivation. The article " Why, oh WHY, do those nutheads use vi?" explains the advantages quite well I think. Vim might be a bit harder in the beginning because its modal editing can feel quite unfamiliar at first. Of course the question cries for including these highly scientific text editor learning curve graphs =) Vim and Emacs are certainly editors that you " learn by doing". I remember several times when I almost freaked out because nano or pico were not installed and I had to use "this ugly beast vi" which made unpredictable things when I started typing (because I wasn't in insert mode and didn't even know what that was) and when I was happy to have googled that ":wq!" gets me back out of hell. Once you know vi(m) it feels awesome in those situations where you ssh into a machine and need to do something with text (navigating through a file, editing, whatever). So no matter whether it is your system or someone else's or whether you are allowed to make changes to it or not, your favorite text editor and friend is there waiting for you. ![]() Vi(m) has the advantage that it is installed (not only available) by default on almost any *nix system. Still if you would have to pick one of them I'd go with vim because of one thing: I would advise that checking out both is worth the time because of various reasons already covered by other answers or "Emacs vs vim vs XY" threads. The thread has definitively exceeded my expectations! Thank you! :) I picked one answer as the accepted one just now, but I would like to say "thank you" to all those who shared their experience and advice: almost all of it has being useful to me in some way. ![]() Have a look at this answer (unrelated topic) for an idea of the kind of information / style of answer I am looking for What advice would you give me on how to learn using it/them? I know this is a broad question, but it is deliberately so. Google trends seems to indicate Vim is the mostly adopted between the two, however my first question is: knowing that I have no prior experience whatsoever on any of the two, and that I use and develop (mostly PHP and Python) on GNU/Linux systems (Ubuntu, Arch Linux), is there any of the two which would represent a better option to start with? (To be clear: my question is not about the quality of the editors but it is about what it is strategically better to learn in my situation). In the linked thread responders have essentially answered by commenting on Vim (often mentioning: "I'm sure Emacs has the same"). So, I have two questions for the community: I have the impression you must dedicate some time and effort to "study" them a bit, before you can benefit from their power. I have the general feeling that Vim and Emacs are not the kind of editor you learn by "playing with it" though. I am a quite happy user of Eclipse (I mostly develop in PHP and Python), however I found the answers to "What specific productivity gains does Vim/Emacs provide over GUI text editors?" interesting enough to make me wish to try out Vim or Emacs as well and see if they would turn out to be a better solution for me.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |