Created
April 24, 2015 13:03
-
-
Save raindev/828b2535f625c9b6ecd9 to your computer and use it in GitHub Desktop.
Open terminal Vim on OS X (to be used for "Open in Vim", e.g.)
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
#! /bin/sh | |
vim="vim $@" | |
osascript -e "tell app \"Terminal\" | |
activate | |
do script \"$vim\" | |
end tell" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment