I am trying to find a way to copy text that I've highlighted with the
mouse to a temporary file with a .do extension, so that I might use it
in the script below, and then delete it. I am not sure how to proceed
from here. Any advice would be greatly appreciated.

fun! RunLines()
 !start "C:\Program Files\Scripts\rundo.exe" "C:/.../tempfile.do"<Enter>
endfun

:map <F9> :<C-U>call RunLines() <Enter>
:imap <F9> <Esc>:<C-U>call RunLines() <Enter>

Reply via email to