Last active
May 17, 2020 20:51
-
-
Save davidrft/0284aba699ae00392ee7393eeb20c72b to your computer and use it in GitHub Desktop.
AutoHotKey script file to enable dead keys in any keyboard layout.
This file contains 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
; Script to enable dead keys in any keyboard layout. | |
; Source: https://stackoverflow.com/questions/37641744/autohotkey-dead-key-remap-stopped-working | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#SingleInstance force | |
#InstallKeybdHook | |
#NoTrayIcon | |
#Hotstring ?C* ; Trigger hotstring even when inside words, case sensitive and without trigger | |
; Grave | |
::`` ::{``}{Space}{BackSpace} | |
::``a::à | |
::``i::ì | |
::``e::è | |
::``o::ò | |
::``u::ù | |
::``A::À | |
::``I::Ì | |
::``E::È | |
::``O::Ò | |
::``U::Ù | |
; Tilde | |
::~ ::{~}{Space}{BackSpace} | |
::~a::ã | |
::~o::õ | |
::~n::ñ | |
::~A::Ã | |
::~O::Õ | |
::~N::Ñ | |
; Circumflex | |
:?C*:^ ::{^}{Space}{BackSpace} | |
::^a::â | |
::^i::î | |
::^e::ê | |
::^o::ô | |
::^u::û | |
::^A::Â | |
::^I::Î | |
::^E::Ê | |
::^O::Ô | |
::^U::Û | |
; Umlaut | |
::" ::{"}{Space}{BackSpace} | |
::`"a::ä | |
::`"i::ï | |
::`"e::ë | |
::`"o::ö | |
::`"u::ü | |
::`"A::Ä | |
::`"I::Ï | |
::`"E::Ë | |
::`"O::Ö | |
::`"U::Ü | |
; Acute | |
::' ::{'}{Space}{BackSpace} | |
::`'a::á | |
::`'e::é | |
::`'i::í | |
::`'o::ó | |
::`'u::ú | |
::`'A::Á | |
::`'E::É | |
::`'I::Í | |
::`'O::Ó | |
::`'U::Ú | |
; Cedilla | |
::`'c::ç | |
::`'C::Ç | |
; Inverted Marks | |
<^>!1::¡ ; AltGr + 1 | |
<^>!/::¿ ; AltGr + / | |
; Ezsset | |
::\ss::ß | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment