Blog: 2023-02-21
Jump to navigation
Jump to search
I opened up a file in vim to play around with an assembler, and tried to hit alt to send escape. It didn't work. I don't know how to do this in autohotkey 2, but I wrote a script for it in ahk 1 somewhere.
Found it in my documents. Here it is:
; Author: fwompner gmail com
#InstallKeybdHook
LAlt::
Send {LAlt Down}
KeyWait, LAlt
Send {LAlt Up}
if ( A_PriorKey = "LAlt" )
{
Send {Esc}
}
return