Re: [Feature Request] Vim should respond to WM_PASTE
- Nikolai Weibull wrote:
> It seems GVim doesn't respond to the WM_PASTE message on Windows. ItWho would send a WM_PASTE message to Vim?
> 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.
An alien life briefly visits earth. Just before departing it leaves a
message in the dust on the back of a white van. The world is shocked
and wants to know what it means. After months of studies the worlds
best linguistic scientists are able to decipher the message: "Wash me!".
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
- On 1/7/07, Bram Moolenaar <Bram@...> wrote:
>I would. I have a Autohotkey script that emulates Vim's digraph
> 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?
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
(I'll gladly post the script if anyone wants it, by they way.)