On 1/7/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
Nikolai Weibull wrote: > It seems GVim doesn't respond to the WM_PASTE message on Windows. It > would be really sweet if it did. I sadly have no intention of > implementing this myself, but would appreciate it if this could be > added to the TODO. Who would send a WM_PASTE message to Vim?
I would. I have a Autohotkey script that emulates Vim's digraph support so that I can type ^K'6 to get a LEFT SINGLE QUOTATION MARK. Sadly, the best way to send Unicode characters to Windows applications through a Autohotkey script is through the use of the clipboard (might not work otherwise). Thus, the character is stored in the clipboard and then a PostMessage of WM_PASTE is sent to the active application. However, if the application doesn't respond to WM_PASTE, this won't work. (I'll gladly post the script if anyone wants it, by they way.) nikolai