Blog: 2023-02-21: Difference between revisions
Jump to navigation
Jump to search
(Created page with "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 scr...") |
(No difference)
|
Latest revision as of 15:42, 21 February 2023
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