First of all, I love vim. I have been using vim for a few years now and it has changed my perceptions of what an editor is capable of. I also love modes.
However I am thinking of switching and here is why:
I really like Xcode and it has emacs bindings. I use Mac OS X and it has emacs functionality in all text input fields. I hate using the mouse, and I think switching would make sense.
I’m also kind of tired of doing all my work in terminal windows: with Xcode I would have access to a great IDE, and a great rat-free editor (emacs).
Having said all this, I find emacs Meta keys approach a little uncomfortable, and a little daunting, plus I have spent a lot of time learning to do things in vim.
Should I switch? And if so has anyone else made this switch or used both vim and emacs and have an opinion about which they prefer and why?
Also for emacs users out there who have used Xcode, how good is the emacs implementation in Xcode? Worth the switch?
Why can’t you use both? Using Emacs doesn’t mean you have to stop using Vim.
Benefits of learning and using both:
Disadvantages:
I see the advantages outweighing the disadvantages.
I use Emacs for Lisp code, and because I use Lisp for web development, I also stay in Emacs for CSS and Javascript and such. I use Vim for Ruby, Python, Perl, PHP, BASH, plaintext, and almost everything else. Both editors have strengths and weaknesses, but mostly both have strengths.
The only way to know if you like Vim or Emacs better is to invest time in both, so you can make an informed decision. Maybe you’ll find that Emacs fits the way you think and work better, or maybe not. It’s such a subjective thing that the only way to know is by trying.
Text editors aren’t religions, and the free disk space in your brain is for all intents and purposes unlimited. So use both and enjoy.