Created
April 1, 2010 17:59
-
-
Save topfunky/352147 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun vim-open-buffer () | |
"Open current file in Vim" | |
(interactive) | |
(shell-command-to-string (concat "vim " buffer-file-name))) |
Perhaps this could launch vim in ansi-term, rather than locking up the emacs instance? Slightly more useful, in a perverse way..
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mostly for humor! It locks up my copy of Emacs after forking to Vim, which adds extra hilarity to the experience.