跳到正文

Emacs Input

作者:WoadWizard

Enables emacs keybinds for in-game text fields

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Emacs Input

A client-side Fabric mod that adds Emacs-style keybindings to Minecraft text
input fields, including chat, signs, command blocks, and books.

It affects the following text fields:

  • Chat and command input
  • Signs and hanging signs
  • Books and quills
  • Command blocks
  • Anvil naming
  • Any other standard text field

Keybindings

Navigation

| Keybind | Action |
|———|——–|
| C-f | Move forward one character |
| C-b | Move backward one character |
| C-a | Move to beginning of line |
| C-e | Move to end of line |
| C-p | Move to previous line (multiline fields only) |
| C-n | Move to next line (multiline fields only) |
| M-f | Move forward one word |
| M-b | Move backward one word |

Kill Ring (Cut/Copy/Paste)

| Keybind | Action |
|———|——–|
| C-d | Delete character at cursor |
| C-k | Kill (cut) to end of line |
| C-u | Kill (cut) to beginning of line |
| C-w | Kill (cut) region (selected text) |
| C-y | Yank (paste) from kill ring |
| M-d | Kill word forward |
| M-Backspace | Kill word backward |
| M-w | Copy region to kill ring |
| M-y | Cycle through kill ring (after yank) |

Undo/Redo

| Keybind | Action |
|———|——–|
| C-/ | Undo last change |
| C-S-/ | Redo |

Transpose

| Keybind | Action |
|———|——–|
| C-t | Transpose characters |
| M-t | Transpose words |

Case Conversion

| Keybind | Action |
|———|——–|
| M-u | Uppercase word |
| M-l | Lowercase word |
| M-c | Capitalize word |

Mark and Selection

| Keybind | Action |
|———|——–|
| C-Space | Set mark (begin selection) |
| C-x C-x | Exchange point and mark |
| C-g | Cancel selection / deactivate mark |

Chat History Search

| Keybind | Action |
|———|——–|
| C-r | Search backward through chat history |
| C-s | Search forward through chat history |

Note: C- denotes Ctrl, M- denotes Alt (or Option on macOS), S- denotes Shift.

Configuration

Configuration is available through Mod Menu (or by editing the raw json at
config/emacsinput:

  • Enable/disable entire mod
  • Toggle Ctrl or Alt keybinds independently
  • Enable/disable specific feature categories (navigation, kill ring, undo, transpose, case conversion, mark)
  • Force-enable or force-disable individual commands
  • History search settings (case sensitivity)
  • Alt key behavior (block all input vs. block only when bound)

Dependencies

Required:

Optional:

  • Mod Menu (for in-game configuration access)

常见问题

Emacs Input 支持哪些 Minecraft 版本?

Emacs Input 支持 Minecraft Java 版 1.20.1–26.1.2,共 8 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Emacs Input 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分