diff options
author | John Ankarström <john@ankarstrom.se> | 2021-01-30 23:44:58 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-01-30 23:44:58 +0100 |
commit | 93d6c8672fc3b5f8b088bef5700e3dc3c6697a53 (patch) | |
tree | a52789fa88f6859060960f5f1e28974d314d9431 | |
parent | a3e064c2a8e98ed5b58bba5cb425e0e8c3095e11 (diff) | |
download | ahk-93d6c8672fc3b5f8b088bef5700e3dc3c6697a53.tar.gz |
programs: Add Drawterm mappings
-rw-r--r-- | tt.programs.ahk | 17 |
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 |