Last active
June 29, 2022 09:22
-
-
Save 10tion/b83abcfe6be319a4e56123aa355595d7 to your computer and use it in GitHub Desktop.
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
#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 Key (Win Key), ^ -> Ctrl Key | |
; $#m -> Super + m, $^a -> Ctrl + a | |
; minimize current window | |
$#m::WinMinimize, A | |
; close current window | |
$#w::Send !{f4} | |
; PowerToys run | |
$#Space::Send {Ctrl Down}{Space}{Ctrl Up} | |
; Input method | |
$^Space::Send {LWin Down}{Space}{LWin Up} | |
; Super + Left click, jump to definition | |
$#LButton::Send {Ctrl Down}{LButton}{Ctrl Up} | |
#IfWinNotActive ahk_exe WindowsTerminal.exe | |
; navigation | |
$^e::Send {End} | |
$^a::Send {Home} | |
$^b::Send {Left} | |
$^f::Send {Right} | |
$^n::Send {Down} | |
$^p::Send {Up} | |
; remap occupied shortcuts | |
$#a::Send ^a | |
$#f::Send ^f | |
$#n::Send ^n | |
$#p::Send ^p | |
#IfWinNotActive | |
; copy & paste | |
$#s::Send ^s | |
$#c::Send {Ctrl Down}{Insert}{Ctrl Up} | |
$#v::Send {shift down}{Insert}{shift up} | |
$#x::Send ^x | |
$#z::Send ^z | |
; tabs | |
; $#w::Send ^w | |
; $#t::Send ^t | |
; $#+t::Send ^+t | |
; disable left win | |
~LWin::Send {Blind}{vkE8} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment