Last active
May 27, 2025 22:23
-
-
Save govindlahoti/811f871ce07b5ec22a51ee77cff5b94f to your computer and use it in GitHub Desktop.
Autohotkey config for mac style keyboard on windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires AutoHotkey v2.0 | |
#SingleInstance | |
!a:: Send("^a") | |
!b:: Send("^b") | |
!c:: Send("^c") | |
!d:: Send("^d") | |
!e:: Send("^e") | |
!f:: Send("^f") | |
!g:: Send("^g") | |
!h:: Send("^h") | |
!i:: Send("^i") | |
!j:: Send("^j") | |
!k:: Send("^k") | |
!l:: Send("^l") | |
!m:: Send("^m") | |
!n:: Send("^n") | |
!o:: Send("^o") | |
!p:: Send("^p") | |
!q:: Send("!{F4}") | |
!r:: Send("^r") | |
!s:: Send("^s") | |
!t:: Send("^t") | |
!u:: Send("^u") | |
!v:: Send("^v") | |
!w:: Send("^w") | |
!x:: Send("^x") | |
!y:: Send("^y") | |
!z:: Send("^z") | |
!0:: Send("^0") | |
!1:: Send("^1") | |
!2:: Send("^2") | |
!3:: Send("^3") | |
!4:: Send("^4") | |
!5:: Send("^5") | |
!6:: Send("^6") | |
!7:: Send("^7") | |
!8:: Send("^8") | |
!9:: Send("^9") | |
!=:: Send("^=") | |
!-:: Send("^-") | |
!/:: Send("^/") | |
!+a:: Send("^+a") | |
!+b:: Send("^+b") | |
!+c:: Send("^+c") | |
!+d:: Send("^+d") | |
!+e:: Send("^+e") | |
!+f:: Send("^+f") | |
!+g:: Send("^+g") | |
!+h:: Send("^+h") | |
!+i:: Send("^+i") | |
!+j:: Send("^+j") | |
!+k:: Send("^+k") | |
!+l:: Send("^+l") | |
!+m:: Send("^+m") | |
!+n:: Send("^+n") | |
!+o:: Send("^+o") | |
!+p:: Send("^+p") | |
!+q:: Send("^+q") | |
!+r:: Send("^+r") | |
!+s:: Send("^+s") | |
!+t:: Send("^+t") | |
!+u:: Send("^+u") | |
!+v:: Send("^+v") | |
!+w:: Send("^+w") | |
!+x:: Send("^+x") | |
!+y:: Send("^+y") | |
!+z:: Send("^+z") | |
!+0:: Send("^+0") | |
!+1:: Send("^+1") | |
!+2:: Send("^+2") | |
!+3:: Send("^+3") | |
!+4:: Send("^+4") | |
!+5:: Send("^+5") | |
!+6:: Send("^+6") | |
!+7:: Send("^+7") | |
!+8:: Send("^+8") | |
!+9:: Send("^+9") | |
!Left:: Send("{Home}") | |
!Right:: Send("{End}") | |
!Up:: Send("^{Home}") | |
!Down:: Send("^{End}") | |
!+Left:: Send("+{Home}") | |
!+Right:: Send("+{End}") | |
!+Up:: Send("^+{Home}") | |
!+Down:: Send("^+{End}") | |
^Up:: Send("{PgUp}") | |
^Down:: Send("{PgDn}") | |
^+Up:: Send("+{PgUp}") | |
^+Down:: Send("+{PgDn}") | |
#HotIf WinActive("ahk_exe chrome.exe") | |
!LButton::SendInput("^{LButton}") | |
#HotIf | |
#HotIf WinActive("ahk_exe code.exe") | |
!LButton::SendInput("^{LButton}") | |
#HotIf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment