Last Updated: February 25, 2016
·
502
· kadjar

Use Mac hotkeys in Windows

Maybe you're used to Macs, love your Mac keyboard, and have to use Windows. Maybe, like me, you occasionally write Win8 apps in Parallels on a MacBook. I heavily use option+arrow and cmd+arrow to manipulate text, but the keys aren't the same in Windows. Here's how I fixed it:

Download AutoHotKey:
http://www.autohotkey.com/

Clear out the default script, and put this in:

#Right::Send {End}
#Left::Send {Home}
#+Right::Send +{End}
#+Left::Send +{Home}
!Right::Send ^{Right}
!Left::Send ^{Left}
!+Right::Send +^{Right}
!+Left::Send +^{Left}

Hit save, and breathe easy.