With this AutoHotKey script, you can use most macOS style shortcuts (eg, cmd+c, cmd+v, ...) on Windows with a standard PC keyboard.
Note that:
- you shouldn't change the modifier keys mapping with keyboard DIP. This script assumes you use a standard PC keyboard layout, and wish to use shortcuts as if it was a mac keyboard layout.
- To use
cmd + shift + ↑ / ↓ / ← / →(select text between cursor and top / bottom / beginning of line / end of line), You should disable theBetween input languagesshotcut fromControl Panel\Clock, Language, and Region\Language\Advanced settings > Change lanugage bar hot keysdue to conflicting. - Some Windows built-in keyboard shortcuts will be overridden. For example:
win + ↑ / ↓ / ← / →(snap window to side). Changemac.ahkaccordingly if you prefer to keep the default behavior.
Here's some examples of how this script work:
| you want to press | what you're actually pressing | AutoHotKey tells Windows |
|---|---|---|
| cmd + c | alt + c | ctrl + c |
| cmd + v | alt + v | ctrl + v |
| cmd + r | alt + r | F5 |
| cmd + ↑ | alt + ↑ | Home |
| cmd + shift + [ | alt + shift + [ | ctrl + shift + Tab |
| ... | ... | ... |
- Install https://www.autohotkey.com/
- Copy and save the content of
mac.ahkin a text file, named asmac.ahk - Double click on
mac.ahkfile
Place mac.ahk file (or make a shortcut) at C:\Users\<USERNAME>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup