Skip to content

Instantly share code, notes, and snippets.

@AndreaMinato
Created May 3, 2019 11:10
Show Gist options
  • Save AndreaMinato/d5764c264216ab44404c1618cb54cf93 to your computer and use it in GitHub Desktop.
Save AndreaMinato/d5764c264216ab44404c1618cb54cf93 to your computer and use it in GitHub Desktop.
#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.
;Configure caps lock to backtick
+CapsLock::CapsLock
CapsLock::SendRaw, ```
; Press middle mouse button to move up a folder in Explorer
#IfWinActive, ahk_class CabinetWClass
~MButton::Send !{Up}
#IfWinActive
return
; Empty trash
#Del::FileRecycleEmpty ; win + del
return
; Set a window to stay Always on Top
RWin & t::
Lwin & t::
Winset, Alwaysontop, , A ; ctrl + space
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment