Skip to content

Instantly share code, notes, and snippets.

@philipmat
Created January 5, 2012 18:01
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 philipmat/1566393 to your computer and use it in GitHub Desktop.
Save philipmat/1566393 to your computer and use it in GitHub Desktop.
Mac-like keyboard map for AutoHotKey
#SingleInstance force
; Revert mouse direction
#MaxHotkeysPerInterval 400
WheelDown::WheelUp
WheelUp::WheelDown
; Remap capslock to control
Capslock::Ctrl
; Alternative - get a Win key back
; Capslock::Win
; Mac-ish map
LAlt::Ctrl
LWin::Alt
RAlt::Ctrl
RCtrl::Alt
; Arrow movement
!Right::Send {Blind}^{Right}
^Right::Send {Blind}{End}
!+Right::Send {Blind}^+{Right}
^+Right::Send {Blind}+{End}
!Left::Send {Blind}^{Left}
^Left::Send {Blind}{Home}
!+Left::Send {Blind}^+{Left}
^+Left::Send {Blind}+{Home}
^Up::Send {Blind}^{Home}
^Down::Send {Blind}^{End}
^+Up::Send {Blind}^+{Home}
^+Down::Send {Blind}^+{End}
; Task switcher
LAlt & Tab::AltTabMenu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment