Skip to content

Instantly share code, notes, and snippets.

@nikes
Last active April 15, 2024 17:37
Show Gist options
  • Save nikes/19c9c88d6d7f44c8e5a5cbf692d8f6e6 to your computer and use it in GitHub Desktop.
Save nikes/19c9c88d6d7f44c8e5a5cbf692d8f6e6 to your computer and use it in GitHub Desktop.
AutoHotkey v2.0 - remap Win to Win+Tab aka Exposé
#Requires AutoHotkey v2.0
LWin:: {
Send "{LWin Down}{Tab}"
WinTabMenu := true
}
; The #HotIf directive creates context-sensitive hotkeys and hotstings:
#HotIf (WinTabMenu := true) ; If this variable has the value "true"
~*LWin Up::
{
Send "{LWin Up}"
WinTabMenu := false
}
#HotIf ; turn off context sensitivity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment