Hi all Just wondering anyone who knows how to write a similar applescript alternative for this, they have one for AHK on windows:
http://vim.wikia.com/wiki/Use_gvim_as_an_external_editor_for_Windows_apps or this for AHK windows users. ^i:: tmpfile=%A_ScriptDir%\ahk_text_edit_in_vim.txt gvim=P:\Vim\vim72\gvim.exe WinGetTitle, active_title, A clipboard = ; empty clipboard send ^a ; select all text send ^c ; copy text clipwait ; wait for copy FileDelete, %tmpfile% FileAppend, %clipboard%, %tmpfile% runwait, %gvim% "%tmpfile%" + fileread, text, %tmpfile% clipboard:=text ; text to clipboard winwait %active_title% ; active the window send ^v ; paste the text return -- You received this message from the "vim_mac" 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
