Skip to content

Instantly share code, notes, and snippets.

@demicuz
Last active December 1, 2017 20:34
Show Gist options
  • Save demicuz/dcfd5035c9e0c98b2f219e081f6115fe to your computer and use it in GitHub Desktop.
Save demicuz/dcfd5035c9e0c98b2f219e081f6115fe to your computer and use it in GitHub Desktop.
This AutoHotKey script preserves QWERTY key combinations. I'm pretty shure it could be done in a better way. Toggling languages currently doesn't work.
#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.
ScrollLock::Suspend, Toggle
; Colemak Mod-DH mapping for ANSI boards
~Ctrl::Suspend, On
~Ctrl Up::Suspend, Off
~Alt::Suspend, On
~Alt Up::Suspend, Off
~LWin::Suspend, On
~LWin Up::Suspend, Off
;SC010::q
;SC011::w
e::f
r::p
t::b
y::j
u::l
i::u
o::y
p::;
;SC01E::a
s::r
d::s
f::t
;SC022::g
h::k
j::n
k::e
l::i
`;::o
z::x
x::c
c::d
;SC02f::v
b::z
n::m
m::h
; set Backspace to CapsLock key
; sc03a::backspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment