Emacs-like (Mac-like) key-bindings on Windows using AutoHotKey
Downnload and run the compiled standalone version
Or install AutoHotKey and run the script
The script uses CapsLock as the <Control> modifier in Emacs. In this way, we can still use Ctrl keys for other default shortcuts e.g. Ctrl+a, Ctrl+c, and etc.
Command | Description | Emacs defaults |
---|---|---|
CapsLock + a | Go to start of the line | C-a |
CapsLock + e | Go to end of the line | C-e |
CapsLock + f | Move forward one character | C-f |
CapsLock + b | Move backward one character | C-b |
CapsLock + n | Move down one line | C-n |
CapsLock + p | Move up one line | C-p |
CapsLock + Space | Ctrl + Space (PowerToys Run for Spotlight-like UX) |
Check the .ahk script for other functionalities.
Tested on Windows 10 + English keyboard