# 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
## Webpages introducing this script * [AutoHotkeyでemacs風キーバインド - torutkの日記](http://d.hatena.ne.jp/torutk/20101009/p2) * [オダろぐ : Emacs>AutoHotKey の Emacsモードを使うことにした](http://blog.livedoor.jp/odaxsen/archives/1546840.html) * [AutoHotkey « sea side she side](http://www.a10i.jp/?tag=autohotkey) * [NTEmacs @ ウィキ - Windows の操作を emacs のキーバインドで行う設定 (AutoHotKey版)](http://www49.atwiki.jp/ntemacs/pages/20.html) * customized by 2cher * [WindowsでEmacs風キーバインド - Usipedia](http://usi3.com/index.php?title=Windows%E3%81%A7Emacs%E9%A2%A8%E3%82%AD%E3%83%BC%E3%83%90%E3%82%A4%E3%83%B3%E3%83%89)