Skip to content

Instantly share code, notes, and snippets.

@kil9
Created February 18, 2023 04:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kil9/34c78ce53a0ae2092d951caa1322cec7 to your computer and use it in GitHub Desktop.
Save kil9/34c78ce53a0ae2092d951caa1322cec7 to your computer and use it in GitHub Desktop.
; AutoHotKey script by kil9 <krieiter@gmail.com>
#SingleInstance
A_MaxHotkeysPerInterval := 1000
#Include %A_ScriptDir%/config.ahk
#Include %A_ScriptDir%/eng-on-esc.ahk
; ! = Alt key, + = Shift Key, ^ = Ctrl Key, # = Windows Key
; for normal keyboard
; CapsLock::Ctrl
; +Capslock::CapsLock
; bind korean keys
RWin::Send("{vk19}")
RAlt::+space
RControl::Send("{vk19}")
; no mouse wheel zoom
; ^WheelDown::return
; ^WheelUp::return
; Media Keys
!+w::Volume_Up
!+x::Volume_Down
!+a::Media_Prev
!+s::Media_Play_Pause
!+d::Media_Next
!+z::Volume_Mute
!+q::Media_Stop
; HHKB left-handed
!^w::WinClose("A")
!^q::WinClose("A")
; scroll lock for task manager
scrollLock::Run("taskmgr.exe")
; shorcuts for applications
!+u::
{
candidates := ["E:\Var\Dropbox\Bin\ahk\connectPulse.ahk"]
file := PickExistingFile(candidates)
Run(file)
}
!+1::
{
candidates := ["E:\Var\Dropbox\Bin\ahk\connectNSAdev.ahk"]
file := PickExistingFile(candidates)
Run(file)
}
!+2::
{
candidates := ["E:\Var\Dropbox\Bin\ahk\connectNSAdevRight.ahk"]
file := PickExistingFile(candidates)
Run(file)
}
!+3::
{
candidates := ["E:\Var\Dropbox\Bin\ahk\connectNSAdev3.ahk"]
file := PickExistingFile(candidates)
Run(file)
}
!+m::
{
SwitchToSublimeText()
}
!+r::
{
files := ["E:\Var\Dropbox\Bin\ahk\startup.ahk"]
file := PickExistingFile(files)
Run(file)
}
!+l::
{
SwitchToLine()
}
!+p::
{
SwitchToTerminal()
}
!+c::SwitchToWhale()
!+k::
{
SwitchToWorks()
}
!+v::
{
global pwtext
SendText(pwtext)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment