Sync from Windows

This commit is contained in:
js0ny 2025-02-13 01:28:55 +00:00
parent 1804960bfc
commit 73f008458a
8 changed files with 85 additions and 25 deletions

View file

@ -108,7 +108,8 @@ global g_ControlRepeatDetected := false
~*^F9::
~*^F10::
~*^F11::
~*^F12:: {
~*^F12::
{
global g_AbortSendEsc
g_AbortSendEsc := true
}

43
platforms/win/ahk/Tab.ahk Normal file
View file

@ -0,0 +1,43 @@
#Requires AutoHotkey v2.0
#SingleInstance Force
Tab Up:: Send '{Tab ' (A_PriorKey = 'Tab' ? 1 : times) '}'
Tab:: global times := ''
#HotIf GetKeyState('Tab', 'P')
h::Left
n::Down
e::Up
i::Right
H::Home
I::End
u::PgUp
d::PgDn
1::F1
2::F2
3::F3
4::F4
5::F5
6::F6
7::F7
8::F8
9::F9
0::F10
-::F11
=::F12
+:: global times .= ThisHotkey
#HotIf
Enter Up:: Send '{Enter ' (A_PriorKey = 'Enter' ? 1 : times) '}'
Enter:: global times := ''
#HotIf GetKeyState('Enter', 'P')
b:: {
Run("vivaldi.exe")
}
t:: {
Run("wezterm-gui.exe")
}
c:: {
Run("code.exe")
}