From 93d6c8672fc3b5f8b088bef5700e3dc3c6697a53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 30 Jan 2021 23:44:58 +0100 Subject: programs: Add Drawterm mappings --- tt.programs.ahk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 -- cgit v1.2.3