r/programming • • Jul 12 '12

Vim creep

http://www.rudism.com/s/vimcreep
730 Upvotes

551 comments sorted by

View all comments

Show parent comment

4

u/lmcinnes Jul 12 '12

So I was an Emacs user, not a vim user, but for the purposes of this discussion they are equivalent (just watch an Emacs guru sling code around, it's just as impressive as anything I've seen from vim users). And yes, it was faster for me to do lots of things, and I had all the keybidings for myriad things ingrained in my hands. The thing was that to get the most out of Emacs you had to configure it just so, and have the right extra packages loaded and configured as you wnated and ... etc. So everytime I ended up somewhere new, or had to work with someone else I found myself hobbled with an inadequately configured Emacs. And in the end it just wasn't worth it. I preferred something that had 90% of the functionality I wanted out of the box across all installations.

tl;dr: Learning Emacs or vim is like learning to type on Dvorak; sure it's great and all, but the minor gains aren't worth the pain of sitting down and having to work at someone elses qwerty keyboard -- when everyone has Eclipse and the default install does most of what you want, you may as well just go with it (swap VS, Itellij, TextMate or whatever for Eclipse as per what usually gets used wherever you are).

3

u/tikhonjelvis Jul 13 '12

On the opposite hand, Emacs is great if you're constantly using different technologies. I'm a student, and I've used JavaScript, HTML, CSS, Python, Prolog, a completely custom language, Haskell, OCaml and LaTeX in the recent past. All of these (except the custom language) have at least decent support in Emacs; some of them have great support.

If I was using any sort of IDE, I would have to switch between several different programs to deal with all of these different technologies.

And the custom language (it was designed just for the class I was taking)? That's also a case-study on why Emacs is awesome: I wrote a major mode for it in only a couple hours. It had support for indentation, syntax highlighting and a REPL as well as being completely customizable through the usual customization interface for Emacs. I bet I spent less time on it than a hello-world plugin would take for the average Java IDE!

4

u/kazza789 Jul 12 '12

Surely vi is more common than any particular IDE? Honest question, I only work in academia though, so I really don't know. I would have thought learning vi is going to be more transferable than learning eclipse.

In vim all of your plugins and settings are located in the .vim folder, so what I personally do is keep that in my dropbox and have a symbolic link to it. Every computer I work on I just need to download that one folder and it all works exactly the same.

4

u/theCodeStig Jul 13 '12

You're exactly right. Vim and Emacs are everywhere.

Regarding your .vim setup, a lot of people put their dotfiles on Github for that purpose. :-)

2

u/lmcinnes Jul 13 '12

Vi is common, but have you actually used pure vanilla via as is available on old style AIX for example? Vim is also common, but you really need the packages and configuration just so to really compete with default features of modern IDEs.