Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.3 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.3 KB

Emacs-like (Mac-like) key-bindings on Windows using AutoHotKey

Setup

Downnload and run the compiled standalone version

Or install AutoHotKey and run the script

Right-click the ahk file to run the script

AutoHotKey icon will appear in the system tray

AutoHotKey icon will appear in the system tray

Usage

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

Tested on Windows 10 + English keyboard