Vim applescript application
Alec Jacobson
March 14, 2010
I wanted a quick way to open up files from finder in vim so I wrote a little applescript application. I use Script Editor.app to save this as an Application in a file called Vim:
on open (these_files)
set names to ""
repeat with this_file in these_files
set names to names & (quoted form of POSIX path of this_file) & " "
end repeat
tell application "Terminal"
activate
do script "vim " & names
end tell
end open
Download the vim applescript app
I would like to know how to make this application come up as a right-click, open with... option for every file type, but I haven't figured that out yet...