Skip to content

About

Fix macOS text navigation shortcuts in chat/books/signs/etc & allows custom shortcuts: get native cmd + backspace, option + delete, cmd + arrows, and more!

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

CMD + Delete

Build status License Modrinth Downloads CurseForge Downloads GitHub Downloads (all assets, all releases)

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!

A showcase of opt/cmd + backspace in chat.

Some Context

  1. This mod is useful even on Windows or Linux as it improves sign navigation to make using left/right arrow keys between the lines of signs possible and it improves word boundary detection to be closer to the native OS.
  2. You can basically disable the mod, if need be, by running the command /navmappings set builtin vanilla.
  3. 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! :)
  4. For technical information about custom mappings and how the mod works, you should go to the CMD + Delete documentation.
  5. 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-26.3, 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.

Builtin Mappings' Shortcuts

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 + ↓

Other Builtin Mappings

CMD + Delete also now provides these other builtin mappings:

  • builtin:emacs_mac the standard macOS Cocoa shortcuts for text navigation in Emacs to the best replication I can make.
  • builtin:emacs_windows_linux the standard Windows/Linux shortcuts for text navigation in Emacs to the best replication I can make.
  • builtin:readline the standard shortcuts for text navigation in GNU Readline to the best replication I can make.
  • builtin:vanilla a set of mappings that functionally disables the mod and allows vanilla Minecraft behavior.

Comparison to Other Similar Mods

Feature CMD + Delete macOS Chat Fixes
Works in chat & most other single-line textboxes ✓ ✓
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 using Emacs and Readline shortcuts ✓ ✘
Supports functionally disabling the mod if needed ✓ ✘
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 15th, 2026. Also, I got the idea of native OS style word boundary detection from macOS chat fixes, though I did not reuse any code.

Licensing

  • 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.

About

Fix macOS text navigation shortcuts in chat/books/signs/etc & allows custom shortcuts: get native cmd + backspace, option + delete, cmd + arrows, and more!

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages