Skip to content

Instantly share code, notes, and snippets.

@krizajb
Last active Apr 5, 2020
Embed
What would you like to do?
Authotkey script for remapping windows (super) key to Shift+Alt+Space and windows key + h to minimize the current window, windows + move.
; Remap windows key + h to minimize the current window
#h::
WinMinimize A
return
; Disable the keyboard layout switcher
Ctrl & Shift::
return
; Remap windows key to the launcher
<#LButton::return ; Do nothing if a left mouse button is clicked
LWin up::
If (A_PriorKey = "LWin") ; LWin was pressed alone
Send, !{space}
return
; In this case its necessary to define a custom combination by using "&" or "<#"
; to avoid that LWin loses its original function as a modifier key:
<#d:: Send #d ; <# means LWin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment