Last active
July 14, 2022 15:58
-
-
Save lindhe/2130c5b61af684cc289cc34d5d843e46 to your computer and use it in GitHub Desktop.
AutoHotKey (AHK)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Place me in %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup | |
#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. | |
; Map touchpad gestures to custom keybindings (Ctrl+F1, ...) | |
^F1:: Run wt | |
^F2:: Run Code | |
^F3:: MsgBox "4F Swipe Up" | |
^F4:: MsgBox "4F Swipe Down" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Place me in %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup | |
#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. | |
; Super+Sift+Q = Alt+4 | |
#+q:: Send !{F4} | |
; Super+Enter to open Terminal | |
#Enter:: Run wt | |
; Super+F = Maximize | |
#f:: Send {F11} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Place me in %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup | |
#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. | |
;; Unmap Widows' stupid AltGr+Esc mapping | |
<^>!Escape:: ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment