# emacs.ahk **Repository Path**: lynnux/emacs-ahk ## Basic Information - **Project Name**: emacs.ahk - **Description**: windows平台上模拟emacs的key按键,使用autohotkey脚本 forked from https://github.com/usi3/emacs.ahk - **Primary Language**: AutoHotkey - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 5 - **Created**: 2013-07-23 - **Last Updated**: 2024-01-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # emacs.ahk An autohotkey script that provides emacs-like keybindings on Windows. Feel free to improve and commit. I have used and maintained this script since Sep 21, 2007. lynnux:slightly modified for my habit, add M-b, M-f, M-h, M-d ## Supported keybindings
Keybinding | Function(Emacs Lisp) |
---|---|
C-t | set-mark-command |
C-@ | set-mark-command |
C-x C-f | find-file |
C-x C-s | save-buffer |
C-x C-y | yank-pop |
C-x C-h | mark-whole-buffer |
C-x C-p | mark-page |
C-d | delete-char | M-d | kill-word |
C-h | delete-backward-char | M-h | backward-kill-word |
C-k | kill-line, if caret is at the end of the line, then delete the "`r`n" |
C-o | open-line |
C-g | quit |
C-j | newline-and-indent |
C-m | newline |
C-i | indent-for-tab-command |
C-s | isearch-forward |
C-r | isearch-backward |
C-w | kill-region, if nothing selected, then cut the whole line |
M-w | kill-ring-save |
C-y | yank |
C-/ | undo |
C-u | redo, equal to native C-y |
C-a | move-beginning-of-line |
C-e | move-end-of-line |
C-p | previous-line |
C-n | next-line |
C-f | forward-char | M-f | forward-word |
C-b | backward-char | M-b | backward-word |
M-v | scroll-up |