A macOS-Like Key-Mapping config for Windows 10/11 based on autohotkey and sharpkeys.
note: this self-use keymapping is based on this repo https://github.com/stroebjo/autohotkey-windows-mac-keyboard and in addition with some custom config and improvements. Changes below are included or to be included:
-
line start and line end using
CMD/WIN + Left
andCMD/WIN + Right
-
line delete using
CMD/WIN + BackSpace
-
line selection using
CMD/WIN + SHIFT + Left
andCMD/WIN + SHIFT + Left
-
CMD/WIN + F1-5
for custom app launchers -
custom keys for vscode
-
using
ALT
for word-based cursor actions -
CMD/WIN + SHIFT + 5
for fast screen recording
About how to use it:
-
Install autohotkey and sharpkeys on target windows computer.
-
Download this project's source and load
ctrl_win_swap.skl
using sharpkeys and compilekeymapping.ahk
using autohotkey. -
(Optional) Set up a customized log-in task to launch keymapping programs automatically. This can be done through Task Scheduler in Computer Management.
-
Done.
NOTE: ahk keymappings is recommended to run with administrator. Or it will not work with privileged softwares.
- This is a self-use keymapping config. It works perfectly for MY WIN10 COMPUTER, but it may not work well on Other environment.
- Be that as it may, feel free to raise an issue.
- custom app launchers launch apps with the paths on MY PC, so you might need to change the executable path to your own in order to make it work.
- As mentioned above, it's a self-use script so it won't be 100% the same as the system keymappings on macOS. If you just don't like the customed part, feel free to fork and modify one of your own.
- There might be a "pure mac-Like" version in the future.
- Finally, any contribution are welcomed.
Thanks to the authors of https://github.com/stroebjo/autohotkey-windows-mac-keyboard, which this repo is based on.
Also thanks to the authors of autohotkey, sharpkeys and kinto. Their great contributions helped a lot to my little project.