Ok, so you (and by you, I mean jack) will be happy to hear, that I’ve mostly settled on being an emacs user. I mean, I’m not killer good at it, but this evening as I moved back to my Mac exclusively for a few days (I’m writing this during a quick jaunt out of town and my mac is the laptop) I downloaded a GUI version of emacs, because… well, I think the less that’s said the better.
This is strange for me, because for a long time, I thought that moving to linux would be all about an adaptation to vi(m)–for those of you playing along at home, vim is the “competing” text editor to emacs. Emacs was always that overly complicated editor that did too much, and vim’s modal1 design is kinda brilliant, and I was taken.
But as I’ve said before, vim is great, but it’s not perfect for what I’m doing. My MO in TextMate has been to use it to do as many things as I can. Which is more inline with the way that people tend to use emacs. So I switched (haven’t started to use it for writing emails, yet), and it’s mostly pretty great, but it’s hard to get used to.
I was going to say “it’s just a bit weird,” or “things seem hard to find,” or “functionality isn’t as standardized as it is in TextMate,” but I’m not sure that this is really true. I mean, there are some clear differences between emacs and TextMate, but TextMate is very clearly influenced2 by emacs, so it’s not that alien. And the M-x command line makes things really easy to find, so that’s not an issue. So maybe my only complaint is that the various modes for emacs aren’t as consistent as the languages/bundles for TextMate. This might be the case, but it also might be the fact that I don’t edit many different kinds of text, so I’m not a great judge of this.
So while I’m on this subject, let me make a list of the kinds of text files that I edit. Because it’s my blog, and I can:
Are there other emacs modes that I should be checking out that I’m not, seemingly, aware of? Thanks in advance!
So the basic idea in vi/vim is that the editor has two basic modes: the “normal” mode allows you to use all the keys to communicate with the editor itself, while the “insert” mode allows you to insert text, and the end result is that the interaction with the program is very ergonomic. It’s also incredibly frustrating for writing prose but amazing for editing jobs of almost any length, because navigation is really simple.
↩The key bindings are mostly the same, and follow very similar patterns. I’d say that the biggest difference (other than open source/closed source) is that TextMate doesn’t lock you into (e)lisp and doesn’t favor a particular scripting language. Which someone else (whose more of a programer) could debate more clearly. To be honest, (e)lisp syntax doesn’t bug me nearly as much as ruby, and there’s a lot of ruby-bias in the TextMate community.
↩