Skip to content

Instantly share code, notes, and snippets.

@edwardrowe
Created September 21, 2016 15:14
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 edwardrowe/dbfa4b52f3bdf2a290396d002a58d2ce to your computer and use it in GitHub Desktop.
Save edwardrowe/dbfa4b52f3bdf2a290396d002a58d2ce to your computer and use it in GitHub Desktop.
AutoHotkey MacToWindows Bindings
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#NoTrayIcon
#InputLevel 1
!a::Send ^a
!f::Send ^f
Capslock::Ctrl ; Remap Capslock to Ctrl as god intended
;Mac Ctrl Navigation
^a::Send {Home}
^e::Send {End}
^p::Send {Up}
^n::Send {Down}
^f::Send {Right}
^b::Send {Left}
#f::Send ^{Right}
#b::Send ^{Left}
^d::Send {Del}
; Mac (CMD) KeyBindings
!q::Send !{F4}
;!f::MsgBox Sample Code to test a key combo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment