Skip to content

Instantly share code, notes, and snippets.

@philipmat
Last active July 2, 2021 12:40
Show Gist options
  • Select an option

  • Save philipmat/9273539 to your computer and use it in GitHub Desktop.

Select an option

Save philipmat/9273539 to your computer and use it in GitHub Desktop.
Mac keys AHK script
#SingleInstance force
; Revert mouse direction
; #MaxHotkeysPerInterval 400
; WheelDown::WheelUp
; WheelUp::WheelDown
; Allow Shift+Caps to toggle Caps
+Capslock::Capslock
; Remap capslock to control
Capslock::Ctrl
; Alternative - get a Win key back
; Capslock::Win
; Mac-ish map for Windows keyboards
LAlt::Ctrl
LWin::Alt
RAlt::Ctrl
RCtrl::RWin
; On an Apple Keyboard, the order is Ctrl-Alt-Cmd=Win
;LWin::Ctrl
; Make Alt-Tab send Win-Tab
; !Tab::Send #{Tab}
;Make Scroll Lock send Win-Tab
ScrollLock::Send #{Tab}
; Use the Media Center key on K350 to press Win-Tab
Launch_Media::Send #{Tab}
; Make Alt-V send Win-V for multi-clipboard
!V::Send #v
; Make Win-Ctrl-Left/Right send themselves for navigating between desktops
<^!Left::Send #^{Left}
<^!Right::Send #^{Right}
; Emoji keyboard
!.::Send #.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment