Skip to content

Instantly share code, notes, and snippets.

@yemM
Created July 18, 2017 09:45
Show Gist options
  • Save yemM/41ee708f5a52c92cb67fa6e5d3d30c45 to your computer and use it in GitHub Desktop.
Save yemM/41ee708f5a52c92cb67fa6e5d3d30c45 to your computer and use it in GitHub Desktop.
Autohotkey file to map a PC Keyboard as a Mac Keyboard (for personal convenience)
; --------------------------------------------------------------
; NOTES
; --------------------------------------------------------------
; ! = ALT
; ^ = CTRL
; + = SHIFT
; # = WIN
#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.
#SingleInstance
;LAlt::LCtrl
;LWin::LAlt
;LCtrl::RCtrl
RWin::RAlt
RAlt::LAlt
!+L::SendInput {|}
!+/::SendInput {\}
<::@
>::SendInput {#}
@::<
+<::>
!n::SendInput {~}
^<::^@
!(::SendInput {{}
!)::SendInput {}}
!+(::SendInput {[}
!+)::SendInput {]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment