Skip to content

Instantly share code, notes, and snippets.

@elcritch
Created April 1, 2016 02:06
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 elcritch/e21b6f6d292947cc1d84eeb18c33d428 to your computer and use it in GitHub Desktop.
Save elcritch/e21b6f6d292947cc1d84eeb18c33d428 to your computer and use it in GitHub Desktop.
Windows AutoHotKey mapping to provide "emacs/os x" style movement keys and browser tab movement. (Use at your own risk!)
LWin::LCtrl
RWin::RCtrl
^!r::
MsgBox, AutoHotKey reloaded!
Reload
return
^+]::
Send, {Ctrl down}{tab}{Ctrl up}
; MsgBox, Left!
return
^+[::
Send, {Ctrl down}{Shift down}{tab}{Ctrl up}{Shift up}
; MsgBox, Left!
return
f15 & e::
Send, {end}
return
f15 & Tab::
Send, ^{Tab}
return
f15 & d::
Send, {del}
return
f15 & a::
Send, {home}
return
f15 & p::
Send, {Up}
return
f15 & n::
Send, {Down}
return
f15 & f::
Send, {Right}
return
f15 & b::
Send, {Left}
return
f15 & k::
Send, {Shift}+{End}{Del}
return
f15 & w::
Send, {Home}
Send, {Shift}+{End}{Del}
return
LAlt & Backspace::
Send ^+{Left}{Del}
return
LAlt & Left::
Send, ^{left}
return
LAlt & Right::
Send, ^{Right}
return
LAlt & b::
Send, ^{Left}
return
LAlt & f::
Send, ^{Right}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment