On Sat, 12 Nov 2022 03:05:06 -0800 (PST)
Nicolas <
niva...@gmail.com> wrote:
> Is it possible to emulate keyboard keys through Vim Editor so that
> the OS interprets them?
>
Vim sits on _top_ of OS, so it's unlikely that Vim can modify a keypress
event and send it to OS. That would require Vim to sit in the _middle_
of the keypress event and the OS.
I'm doubtful you want that, though. You probably want to map a key in
Vim. This assumption is supported by your example.
> example: Is is possible to emulate Windows Key(VK_LWIN)+R keys?
Vim cannot map Windows keys. But you can look through online help sites,
e.g.,
vi.stackexchange.com, to see if anyone has come up with a
workaround.
Here is a possible solution:
https://stackoverflow.com/q/327415/11135136
--
Enan
3nan....@gmail.com
https://www.github.com/3N4N
GPG Key ID: 448F8D0D0D6DB601566E396CA031EA10A3ECB75D