Skip to content

Instantly share code, notes, and snippets.

@Wintus
Created February 7, 2016 23:31
Show Gist options
  • Save Wintus/3ac73985ba2dcafe0747 to your computer and use it in GitHub Desktop.
Save Wintus/3ac73985ba2dcafe0747 to your computer and use it in GitHub Desktop.
AutoHotKeyRemappings
#NoEnv
; #InstallKeybdHook ; DEBUG: to get KeyHistory
; #SingleInstance ; auto-op with hot-keys
#+r::Reload
; Switch Suspension
^+f::Suspend,On
^+j::Suspend,Off
#Include %A_LineFile%\..\OEA_Mapping.ahk
; Shortcuts Pass-through
~+^z::
~^z::
~^x::
~^c::
~^y::
~^v::
return
; Remap
; `; = vkBBsc027
; `: = vkBAsc028
; `, = vkBCsc033
; `\ = vkE2sc073
; Remap - common
.::b
a::o
b::k
c::v
d::a
e::q
f::i
g::u
h::g
i::r
j::h
k::t
l::s
m::c
n::d
o::w
; p::p
q::x
s::e
sc027::n ; ; → n
sc033::l ; , → l
t::f
u::m
v::y
w::-
x::.
y::j
z::sc033 ; z → ,
#Include <IME>
; Remap - for Japanese
#If Get_languege_name() = "ja"
; -::\
-::@
@::z
r::sc027 ; r → ;
; sc073::@ ; \ → @
; #If ; Else #If
; Remap - for non-Japanese
#If Get_languege_name() != "ja"
-::=
\::]
]::[
[::z
r::vkBA ; r → ;
sc00D::\ ; = → \
#If ; End #If
; Pass-through
~+^z::
~^z::
~^x::
~^c::
~^y::
~^v::
return
; `; = vkBBsc027
; `: = vkBAsc028
; `, = vkBCsc033
; `\ = vkE2sc073
; Remap - for English
-::=
.::b
[::z
\::]
]::[
a::o
b::k
c::v
d::a
e::q
f::e ; i
g::u
h::g
i::r
j::h
k::t
l::s
m::c
n::d
o::w
q::x
r::`;
s::i ; e
sc00D::\ ; = -> \
sc027::n ; ; → n
sc033::l ; , → l
t::f
u::m
v::y
w::-
x::.
y::j
z::sc033
; Pass-through
~^z::
~+^z::
~^x::
~^c::
~^y::
~^v::
return
; Remap
,::l
-::\
.::b
@::z
a::o
b::k
c::v
d::a
e::q
f::i
g::u
h::g
i::r
j::h
k::t
l::s
m::c
n::d
o::w
q::x
r::sc027 ; r -> ;
s::e
sc027::n ; ; -> n
sc073::@ ; \ -> @
t::f
u::m
v::y
w::-
x::.
y::j
z::,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment