diff --git a/dotfiles/ahk/extra_remaps.ahk b/dotfiles/ahk/extra_remaps.ahk new file mode 100644 index 0000000..1229096 --- /dev/null +++ b/dotfiles/ahk/extra_remaps.ahk @@ -0,0 +1,25 @@ +; extra key remaps +; mainly for inputting special characters + +; Play/Pause +sc121:: + Send {Media_Play_Pause} + return + + +; Henkan/Muhenkan + - -> en, em dash +vk1D & vkBD:: + Send {U+2013} ; en dash + return +vk1C & vkBD:: + Send {U+2014} ; em dash + return + +; Henkan/Muhenkan + {Space} -> ZWSP, ZWJ +vk1D & Space:: + Send {U+200B} ; ZWSP + return +vk1C & Space:: + Send {U+200D} ; ZWJ + return + diff --git a/dotfiles/ahk/key_remaps.ahk b/dotfiles/ahk/key_remaps.ahk index 4ef1436..3f90df4 100644 --- a/dotfiles/ahk/key_remaps.ahk +++ b/dotfiles/ahk/key_remaps.ahk @@ -62,3 +62,7 @@ return ; HankakuZenkaku to esc sc029:: Send, {Escape} + +; ========================================== +; include extra key remaps +#Include extra_remaps.ahk