# JetBrains keymap: Add CamelHump subword navigation \(\#51540\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/30f806c4ac51e6ecb8e1d676d7b887cabe254e56)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 30f806c4ac51e6ecb8e1d676d7b887cabe254e56

Requested commit: 30f806c4ac51e6ecb8e1d676d7b887cabe254e56

Commit: 30f806c4ac51e6ecb8e1d676d7b887cabe254e56

Tree: 6acac68d884547d003739f8a6307fe9656a41aab

Author: loadingalias

Committer: GitHub

## Message

```
JetBrains keymap: Add CamelHump subword navigation (#51540)

Closes #21054

## Summary
• make the JetBrains base keymap use subword motions for
`Alt+Left/Right` and `Shift+Alt+Left/Right` in editors
• keep Zed's default keymaps and the underlying `word`/`subword`
primitives unchanged
 • document word vs. subword navigation in the key bindings docs
• document the JetBrains default in the IntelliJ, WebStorm, PyCharm, and
RustRover migration guides

## Testing
 • `./script/check-keymaps`
 • `cargo fmt --all -- --check`
 • `./script/clippy -p editor`
• `cd docs && pnpm dlx prettier@3.5.0 src/key-bindings.md
src/migrate/intellij.md src/migrate/webstorm.md src/migrate/pycharm.md
src/migrate/rustrover.md --check`

Related to #12816 and #34090, but does not actually address the
configurable word separators or broader subword semantics. Intentionally
scoped to JetBrains keymap defaults & docs.

Release Notes:

- Improved JetBrains keymap behavior by adding CamelHump-style subword
navigation in editors.

---------

Co-authored-by: Tom Houlé <tom@tomhoule.com>
Co-authored-by: Antonio Scandurra <me@as-cii.com>
```

## Parents

- [24e25552b1259d56a6fdd7956a419ed9e8a1a25e](https://git.cafe/gitcafe/zed/commit/24e25552b1259d56a6fdd7956a419ed9e8a1a25e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/30f806c4ac51e6ecb8e1d676d7b887cabe254e56?format=markdown)
