/gtk-emacs-theme-like.ahk

An autohotkey script that allows you to use gtk-emacs-key-theme-like key bindings on Windows environment

Primary LanguageAutoHotkey

gtk-emacs-theme-like.ahk

This tiny script allows you to use the gtk-emacs-key-theme like bindings on Windows, which is written in AutoHotkey (AHK) language. This script forked from usi3's emacs.ahk.

Supported keybindings

Keybinding Function
Ctrl+B move cursor backward
Shift+Ctrl+B move cursor backward selecting chars
Ctrl+F move cursor forward
Shift+Ctrl+F move cursor forward selecting chars
Ctrl+P move cursor up
Shift+Ctrl+P move cursor up selecting chars
Ctrl+N move cursor down
Shift+Ctrl+N move cursor down selecting chars
Ctrl+D delete following char
Ctrl+H delete previous char
Ctrl+A move cursor beginning of current line
Shift+Ctrl+A move cursor beginning of current line selecting chars
Ctrl+E move cursor end of current line
Shift+Ctrl+E move cursor end of current line selecting chars
Alt+B move cursor one word backward
Shift+Alt+B move cursor one word backward selecting chars
Alt+F move cursor one word forward
Shift+Alt+F move cursor one word forward selecting chars
Ctrl+W cut
Ctrl+Y paste
Ctrl+K delete chars from cursor to end of line
Ctrl+U delete chars from cursor to beginning of line
Ctrl+M new line(enter)
Ctrl+R find
Ctrl+\ select all