Sunday, August 20, 2017

Make keyboard on PC behave like Mac

PC keyboard has Alt key next to Space key while on Mac you have Command key next to it. On Mac you would do Command+Space to change language and Command+C, Command+V for Copy and Paste respectively. The easy and clean way to make PC keyboard having this behaviour is by using the free AutoHotKey tool. With the tool installed, you would create an .ahk file and run it to map the key combinations according to the content in the file. In my case, this is what I put in .ahk file

!c::Send, ^c
!v::Send, ^v
!space UP::Send #{Space}
Return

!c is Alt+C which I will send ^c or Ctrl+C. The # is Windows key