Convert Win
key to Super
key for Emacs in Microsoft Windows
even with input
method on.
- It only catch the hotkey if the active window is a Emacs window.
- Use
AutoHotkey
to translateWin-i
(i
can be any other letter or punctuation) toCtrl-x, @ s i
. - By default Emacs map
Ctrl-x, @ s
toevent-apply-super-modifier
, so the followingi
will be treated asSuper i
. Win-shift-i
orWin-i
withCapslock
on is translated toCtrl-x, @ s I
.
- Run
winsuper.exe
from command line without any command line arguments, or just double click it to run, then for each hotkey, there will be a defult delay of100ms
after sending outCtrl-x
, it will map all letters and punctuations in the keyboard in the position ofi
in the above. Of course some of them won’t work (e.g.Win-l
) because of the constraint ofMicrosoft windows
itself. winsuper.exe 200
will set the delay to200ms
.