Skip to content

Instantly share code, notes, and snippets.

@raindev
Created April 24, 2015 13:03
Show Gist options
  • Save raindev/828b2535f625c9b6ecd9 to your computer and use it in GitHub Desktop.
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.)
#! /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