From 586e4e3666f297bb3344bf4b55bc0f46dd1a14b3 Mon Sep 17 00:00:00 2001 From: Alan O Date: Thu, 5 Oct 2023 22:08:24 -0400 Subject: [PATCH] Add misc folder --- misc/caps_as_colon.ahk | 6 ++++ misc/colemak.ahk | 38 ++++++++++++++++++++++ misc/patrick_qwerty.ahk | 72 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 116 insertions(+) create mode 100644 misc/caps_as_colon.ahk create mode 100644 misc/colemak.ahk create mode 100644 misc/patrick_qwerty.ahk diff --git a/misc/caps_as_colon.ahk b/misc/caps_as_colon.ahk new file mode 100644 index 0000000..de295cb --- /dev/null +++ b/misc/caps_as_colon.ahk @@ -0,0 +1,6 @@ +#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. + +Capslock::; \ No newline at end of file diff --git a/misc/colemak.ahk b/misc/colemak.ahk new file mode 100644 index 0000000..b61ad65 --- /dev/null +++ b/misc/colemak.ahk @@ -0,0 +1,38 @@ +; Colemak Mod-DH mapping for matrix boards + +;SC010::q +;SC011::w +SC012::f +SC013::p +SC014::b +SC015::j +SC016::l +SC017::u +SC018::y +SC019::; +;SC01E::a +SC01F::r +SC020::s +SC021::t +;SC022::g +SC023::m +SC024::n +SC025::e +SC026::i +SC027::o + +;SC02c::z +;SC02d::x +;SC02e::c +SC02f::d +SC030::v +SC031::k +SC032::h + +sc03a::Backspace + +PgUp::End +PgDn::Home + +End::PgUp +Home::PgDn \ No newline at end of file diff --git a/misc/patrick_qwerty.ahk b/misc/patrick_qwerty.ahk new file mode 100644 index 0000000..0f8383b --- /dev/null +++ b/misc/patrick_qwerty.ahk @@ -0,0 +1,72 @@ +#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. +SetCapsLockState, AlwaysOff + +; Swap backtick and escape since I use escape much more +Esc::SC029 +SC029::Esc + +; Swap { } and [ ] since I use curly brackets more while programming +:*?:[:: + SendInput, {Shift Down}`[{Shift up} + return + +:*?:]:: + SendInput, {Shift Down}`]{Shift Up} + return + +:*?:{:: + SendInput, `[ + return + +:*?:}:: + SendInput, `] + return + +; Ctrl + PrintScreen shortcut for opening the snipping tool +^PrintScreen::Send, #+{S} + +#If GetKeyState("CapsLock", "P") +i::Up +j::Left +k::Down +l::Right + +y:: Send, {End}+{Home} +`;::Backspace +p::Del + +u::Home +o::End + +f::LCtrl +d::LShift +a::LAlt + +s::WheelDown +w::WheelUp + +e::!Left +r::!Right + +z::^z +x::^x +c::^c +v::^v + +Backspace::^Backspace +Del::^Del + +Up::^Up +Left::^Left +Down::^Down +Right::^Right + +Space::Enter + +#If +*CapsLock:: +KeyWait, CapsLock +Return \ No newline at end of file