Skip to content

System-wide Emacs-like/Mac-like key-bindings on Windows 10 using AutoHotKey

Notifications You must be signed in to change notification settings

usuyama/emacs-like-key-bindings-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

System-wide Emacs-like/Mac-like key-bindings on Windows 10 using AutoHotKey

Resources

Stars

Watchers

Forks

Packages

No packages published