Skip to content

Instantly share code, notes, and snippets.

@arrowrowe
Last active October 15, 2016 18:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arrowrowe/ecf73aa95654d1d213e4 to your computer and use it in GitHub Desktop.
Save arrowrowe/ecf73aa95654d1d213e4 to your computer and use it in GitHub Desktop.
A AutoHotKey Configuration File
Capslock::Ctrl
LCtrl::Capslock
; ----------------------- ----------------------- -----------------------
; Chrome
; ----------------------- ----------------------- -----------------------
; Switch between tabs
LAlt & ,::Send ^+{TAB}
LAlt & .::Send ^{TAB}
; ----------------------- ----------------------- -----------------------
; Windows
; ----------------------- ----------------------- -----------------------
; Auto fit columns for windows
#a::
Send {TAB}
Send {APPSKEY}
Send a
Send +{TAB}
Return
; Switch between windows
#,::Send !+{ESCAPE}
#.::Send !{ESCAPE}
; Change desktop background
#z::
Send {APPSKEY}
Send n
Send n
Send {ENTER}
Return
; Erase clipboard
#v::Clipboard =
; Task View (Windows 10)
#w::Send #{TAB}
; ----------------------- ----------------------- -----------------------
; Text Editing
; ----------------------- ----------------------- -----------------------
LAlt & q:: Send !{F4}
LAlt & e::
Send {Home}
Send +{End}
Return
LAlt & y:: Send +{HOME}
LAlt & u:: Send {HOME}
LAlt & i:: Send {UP}
LAlt & o:: Send {END}
LAlt & p:: Send +{END}
LCtrl & h:: Send ^{BACKSPACE}
LAlt & j:: Send {LEFT}
LCtrl & j:: Send {BACKSPACE}
LAlt & k:: Send {DOWN}
LAlt & l:: Send {RIGHT}
LCtrl & l:: Send {DELETE}
LCtrl & `;::Send ^{DELETE}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment