Hacker News new | ask | show | jobs
by goldfeld 4289 days ago
As much as vim is known as the modal editor, that sounds like you're describing Emacs (I'm using evil-mode instead of vim these days.) Whereas vim has dual-modality as its core, it's very well-defined and self-contained as far as modes go, and with the exception of this Ex mode, you can get out of any weird state by pressing Esc. Emacs, on the other hand, has potentially dozens of different 'modes' you can accidentally find yourself in, and each one seeming to have a different way of getting out, it drives me insane! Even a question in Emacs which can only be answered by typing out 'yes' or 'no', and by no other frigging escape sequence, is a mode come from hell. Worse yet, press Esc and Emacs goes into the mode of a mode where it briefly becomes unresponsive as it lets you know that you are WRONG.

Vim to me is like having a smooth technical conversation with a work partner. Emacs is like conversing with my partially deaf grandpa.

2 comments

I'm interested to hear why you're using evil-mode instead of vim if that's how you feel. I'm using vim with slimv for Lisp hacking at the moment and I have to admit that there are some whoopsies, but not enough to make me learn to use a whole new editor :)
Well, rant and occasional surprise aside, I've found evil-mode to truly be a better implementation of vi than vim itself, at least where it concerns me (as formerly a pretty advanced vim user and plugin developer, it took me some adapting to stop using all the ex vim idioms and the like.) It's faster to handle big files and execute macros, overall snappier and has a profoundly better %s///g with real time preview.

I really did start using Emacs when I started learning Clojure(/Script), though, and made it my main language and platform investment. And org-mode had been playing a part in my want of switching for a while, building up for years. I also told myself it'd be better to hack in a lisp but Elisp is so fucked up I still haven't mustered up the courage to properly learn all its old and unexpressive idiosyncracies (god, even creating a closure requires explicit verbosity!) Meanwhile I don't think I can bear VimScript anymore--since getting into Clojure my language standards have gone considerably up. As a result I do the odd hack but haven't developed more powerful plugins in a while, not in elisp nor vimscript; I'm in a psychological limbo there. Kinda hoping Guile-Emacs takes off so I can do stuff in scheme.

I tried using evil and it just messed up my brain too much. I learned emacs and vim properly and their methods of operation are now ingrained in my muscle memory, entirely separate from one another. To go back now would be like asking someone to use a mouse and keyboard to drive their car.
Thanks for the insight, much appreciated.

Out of curiosity, what do you mean by 'verbosity' in this case? I just Googled and it looks like Elisp uses the same (lambda (arg) form) syntax, like CL---is this what you're referring to?

Lexical binding is a "new" feature for elisp. See:

http://www.emacswiki.org/emacs/LexicalBinding

...for some of the issues.

Would you say that emacs (with evil-mode) is significantly better than vim using ScreenShell or slimv, for clojure development?
I really didn't try Clojure on Vim, at the time Emacs seemed unambiguously like the authoritative option and it did serve as an excuse for me to jump into Emacs. For Clojure though, I find that Paredit tremendously reduces my need of vim motions. But evil-mode is great for all my prose editing needs (along with org-mode) and I do find it more robust than Vim at all the fundamental vi functionality.
C-g almost always helps.