2026-09-03

The recent version of Zed changed the caret movements of and from one based on word boundaries to one based on sub-word boundaries, like when a case change occurs. If your caret was on the left of an identifier like MyFancyIdentifier, when you pressed , instead of going to the end of the word, it’s moved to the front of “Fancy” since it detected a case change.

It’s a style of navigation I don’t care for. Fortunately you can turn it off by opening keymap.json and adding the following:

// keymap.json
[
  {
    "unbind": {
      // -- Snip --
      "alt-left": "editor::MoveToPreviousSubwordStart",
      "alt-right": "editor::MoveToNextSubwordEnd",
      "shift-alt-left": "editor::SelectToPreviousSubwordStart",
      "shift-alt-right": "editor::SelectToNextSubwordEnd",
      // -- Snip --
    }
  }
]