Created
March 7, 2019 12:49
-
-
Save alepez/4bca5d8d3cd854f2bb60e2b136070e36 to your computer and use it in GitHub Desktop.
AutoHotkey: italian accents on us layout. Caps-Lock -> Ctrl/Esc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Map Caps-Lock to ESC (single press) and Ctrl (long press) | |
#InstallKeybdHook | |
SetCapsLockState, alwaysoff | |
Capslock:: | |
Send {LControl Down} | |
KeyWait, CapsLock | |
Send {LControl Up} | |
if ( A_PriorKey = "CapsLock" ) | |
{ | |
Send {Esc} | |
} | |
return | |
; Italian characters on US keyboard | |
>!e::Send è | |
>!+e::Send È | |
>!d::Send é | |
>!+d::Send É | |
>!a::Send à | |
>!+a::Send À | |
>!o::Send ò | |
>!+o::Send Ò | |
>!u::Send ù | |
>!+u::Send Ù | |
>!i::Send ì | |
>!+i::Send Ì | |
; Run babun terminal on Win+C | |
#c::Run, babun, , min |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment