AppleScript drag-n-drop Terminal vim The following AppleScript enables me to open files by drag-n-drop with the Terminal version of vim.
Copy the script to a "Script Editor" window and save as an "application". I added the resulting AppleScript application to the Dock and the Desktop. -Bill --============================================================== on vim(miv) tell application "Terminal" activate do script "vim" & miv end tell end vim on open theDrop set miv to "" repeat with aFile in theDrop set aFile to POSIX path of aFile set miv to miv & " " & quoted form of aFile end repeat vim(miv) end open on run vim("") end run --============================================================== -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php