Installing the Zed Shift+Enter binding now edits just that line, keeping your comments and existing bindings.
What's wrong with this entry?
The installer now makes a targeted edit to your Zed keymap instead of reparsing and rewriting the entire file, so comments survive and an existing Terminal shift-enter binding is no longer duplicated. It backs the file up, tolerates trailing commas, honours XDG_CONFIG_HOME on Linux, and verifies the result before writing.
- On failure it now tells you the keymap was left unchanged and prints the block to add by hand, for example
Couldn't read your Zed keymap, so it was left unchanged. - Installation now reports whether it actually succeeded, and Claude Code only records the binding as installed when it did.
Couldn't read your Zed keymap, so it was left unchanged.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.