Skip to content

Instantly share code, notes, and snippets.

@jridgewell
Created August 7, 2011 22:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jridgewell/1130879 to your computer and use it in GitHub Desktop.
Save jridgewell/1130879 to your computer and use it in GitHub Desktop.
Open file/folder in MacVim. Preceded by get Finder Selection
on run {input, parameters}
repeat with i in input
tell application "MacVim"
open (POSIX path of i)
end tell
end repeat
tell application "MacVim"
activate
end tell
return input
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment