aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-01-30 23:44:58 +0100
committerJohn Ankarström <john@ankarstrom.se>2021-01-30 23:44:58 +0100
commit93d6c8672fc3b5f8b088bef5700e3dc3c6697a53 (patch)
treea52789fa88f6859060960f5f1e28974d314d9431
parenta3e064c2a8e98ed5b58bba5cb425e0e8c3095e11 (diff)
downloadahk-93d6c8672fc3b5f8b088bef5700e3dc3c6697a53.tar.gz
programs: Add Drawterm mappings
-rw-r--r--tt.programs.ahk17
1 files changed, 17 insertions, 0 deletions
diff --git a/tt.programs.ahk b/tt.programs.ahk
index 7386e2f..2352dd8 100644
--- a/tt.programs.ahk
+++ b/tt.programs.ahk
@@ -132,5 +132,22 @@ KeyWait, MButton
SendInput, {Space Up}{LButton Up}
return
+#IfWinActive
+
+#If WinActive("ahk_class 9pmgraphics") and Layout() = layouts.sv ; see tt.layout.ahk
+
+^!8::SendInput, {ASC 91}
+^!9::SendInput, {ASC 93}
+^!+::SendInput, {ASC 92}
+<^>!8::SendInput, {ASC 91}
+<^>!9::SendInput, {ASC 93}
+<^>!+::SendInput, {ASC 92}
+
+LAlt & Tab::
+SendInput, {LAlt}
+SendInput, {LAlt Down}{Tab}
+KeyWait, LAlt
+SendInput, {LAlt Up}
+return
#IfWinActive