10 May 2013 I’m a vim user, get me out of here! 10 May 2013

The Emacs vs. Vim war has grown to Palestine/Israel proportions (in that it it’s a perpetual stalemate that can only be resolved by military intervention), and there is little common ground between their command sets.

This is all well and good, but can pose a real problem when you’re happily buffering-it-up with your LISP fuelled editor of preference and a vim user comes over and tries to use your machine.

To avoid the catastrophic repercussions of letting a vim user loose within your beloved Emacs session, I wrote a small function for my init.el which spawns a new terminal and opens the current file at the exact same place in vim: