Skip to content

Instantly share code, notes, and snippets.

@StuffbyYuki
Created September 7, 2023 15:28
Show Gist options
  • Save StuffbyYuki/ab46ebfd6223399fd2385ec05024db46 to your computer and use it in GitHub Desktop.
Save StuffbyYuki/ab46ebfd6223399fd2385ec05024db46 to your computer and use it in GitHub Desktop.
AutoHotkey - Yuki
#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.
; Switch alt and ctrl
LAlt::LCtrl
LCtrl::LAlt
; alt+tab -> ctrl+tab
!Tab::
Send {Control down}{Tab}
Keywait Control
Send {Control up}
return
; ctrl+tab -> alt+tab
; I'm not able to remap this one
^Tab::
Send {Alt down}{Tab}
Keywait Alt
Send {Alt up}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment