In Minecraft on macOS, pressing option + backspace deletes a single character, and pressing command + backspace
deletes a word. This is completely inconsistent with the native OS, so I fixed it...
This mod also functions as a fully configurable text editing/navigation shortcut framework for Minecraft with custom mappings, JSONs and sharecodes, in-game switching, and more!
- If you use this mod on Windows or Linux, and you don't use custom mappings, nothing will change from vanilla Minecraft.
- If you have any problems with this mod, please report them as Issues on GitHub. This mod is Open Source, and Pull Requests are very much welcome! :)
- For technical information about custom mappings and how the mod works, you should go to the CMD + Delete documentation.
- CMD + Delete has portions of the mod localized to many other languages. Currently, this has been done using machine translation. If you would like to help support a new language or improve translations for your own language, please help out on the CMD + Delete Crowdin Project.
Note
Compatibility:
CMD + Delete is a multi-platform mod that supports for Minecraft Fabric/Quilt 1.14.4 to the latest version, NeoForge
1.21.9 to 26.3 and the LTS 1.20.5-1.21.5 build natively, and Forge 1.20.1
via Sinytra Connector.
By default, CMD + Delete will detect if you're using macOS, and if you are, it'll set you to those shortcuts, otherwise it will set you to use Windows/Linux shortcuts.
| Action | macOS | Windows / Linux |
|---|---|---|
| Delete previous word | option + backspace |
ctrl + backspace |
| Delete next word | option + delete |
ctrl + delete |
| Delete to start of line | cmd + backspace |
N/A |
| Delete to end of line | cmd + delete |
N/A |
| Move to previous word | option + ← |
ctrl + ← |
| Move to next word | option + → |
ctrl + → |
| Move to start of line | cmd + ← |
home |
| Move to end of line | cmd + → |
end |
| Move to start of text | cmd + ↑ |
ctrl + home |
| Move to end of text | cmd + ↓ |
ctrl + end |
| Select to previous word | option + shift + ← |
ctrl + shift + ← |
| Select to next word | option + shift + → |
ctrl + shift + → |
| Select to start of line | cmd + shift + ← |
shift + home |
| Select to end of line | cmd + shift + → |
shift + end |
| Select to start of text | cmd + shift + ↑ |
ctrl + shift + home |
| Select to end of text | cmd + shift + ↓ |
ctrl + shift + end |
| Select up one line | shift + ↑ |
shift + ↑ |
| Select down one line | shift + ↓ |
shift + ↓ |
CMD + Delete also now provides these other builtin mappings:
builtin:emacs_windows_linuxthe standard Windows/Linux shortcuts for text navigation in Emacs to the best replication I can make (they're not perfect).builtin:emacs_macthe standard macOS Cocoa shortcuts for text navigation in Emacs to the best replication I can make (they're not perfect).builtin:readlinethe standard shortcuts for text navigation in GNU Readline to the best replication I can make (they're not perfect).
| Feature | CMD + Delete | macOS Chat Fixes |
|---|---|---|
| Works in chat | ✓ | ✓ |
| Works in signs | ✓ | ✘ |
| Works in books | ✓ | ✘ |
| Works on any OS | ✓ | ✓ |
| Native macOS-style word-boundary detection | ✓ | ✓ |
| Custom mappings JSON support | ✓ | ✘ |
| Can use shortcuts from a different OS if wanted | ✓ | ✘ |
| Supports sharing custom shortcuts via sharecodes | ✓ | ✘ |
| Supports NeoForge, Fabric, and Quilt natively | ✓ | ✘ |
| Supports Minecraft versions before 26.1 | ✓ | ✘ |
| Open source | ✓ | ✓ |
| Open source license | Apache-2.0 |
LGPL-3.0-only |
| Public technical documentation | ✓ | ✘ |
Note
The description of macOS chat fixes says it supports signs, but after conducting a source code review, I determined that it did not have a mixin to actually support signs. Note that all claims were made as of October 4th, 2026. Also, I got the idea of native OS style word boundary detection from macOS chat fixes, though I did not reuse any code.
- The CMD + Delete mod itself is licensed under the Apache 2.0 license.
- The CMD + Delete wiki/documentation is licensed under the CC BY 4.0 license.
- All builtin mappings JSON files are available under either the Apache 2.0 license or the CC BY 4.0 license (You may choose to comply with either license).
- You may include CMD + Delete in any CurseForge and/or Modrinth modpack.
