Skip to content

Instantly share code, notes, and snippets.

@matti
Created November 27, 2024 21:35
Show Gist options
  • Save matti/83719302d4f35248c5fc3826fd1854ca to your computer and use it in GitHub Desktop.
Save matti/83719302d4f35248c5fc3826fd1854ca to your computer and use it in GitHub Desktop.
#SingleInstance
; MsgBox "yo dawg"
; ^+r::Reload
SelectAll := 0
LWin::LAlt
LAlt::LWin
#Tab::
{
Send "{LAlt Down}{Tab}"
KeyWait "LWin", "L"
Send "{LAlt Up}"
}
#a::
{
global SelectAll
SelectAll := 1
Send "^a"
SelectAll := 0
}
$^a::
{
global SelectAll
if SelectAll = 1
Send "^a"
else
Send "{Home}"
}
^e::Send "{End}"
#c::Send "^c"
#x::Send "^x"
#v::
{
if WinActive("ahk_exe WindowsTerminal.exe")
Send "^+v"
else
Send "^v"
}
#q::WinClose
#w::Send "^w"
#t::Send "^t"
#+t::Send "^+t" ; restore tab control+shift+t
#l::Send "^l"
#s::Send "^s"
#2::Send "@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment