[Feature Request] Allow Ctrl+B passthrough for readline cursor navigation
Bug Description
---
Feature Request: Allow Ctrl+B to pass through to terminal (cursor navigation)
Problem:
Ctrl+B is currently hardcoded in Claude Code for "background task" functionality. However, Ctrl+B is a fundamental readline/Emacs keybinding used by countless developers for moving the cursor backward in terminal environments.
For experienced developers who rely on muscle memory for terminal navigation, having Ctrl+B hijacked is extremely disruptive. This keybinding is deeply ingrained in daily workflows — it's not just a preference, it's years of muscle memory.
Impact:
- Breaks muscle memory built over years of terminal usage
- Forces users to consciously avoid a reflexive keystroke
- Creates friction in an otherwise smooth CLI experience
- Particularly frustrating since Ctrl+F (forward) still works as expected
Suggested Solutions:
- Allow custom keybindings — Let users remap or disable specific shortcuts
- Use a less common shortcut — Consider Alt+B or Ctrl+Shift+B for ound tasks instead
- Provide an option to disable Claude Code shortcuts — A setting like "preserveTerminalKeybindings": true
Many power users choose CLI tools specifically because they respect terminal conventions. Overriding essential navigation keys goes against this expectation.
---
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 2.1.7
- Feedback ID: f6a5ed9e-10c3-456b-bb95-55cd122eb544
Errors
[{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: spawn typescript-language-server ENOENT\n at Object.start (file:///Volumes/Macintosh%20HD%20External%20-%20Data/Users/kongkang/.nvm/versions/node/v22.21.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2443:22356)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.X [as start] (file:///Volumes/Macintosh%20HD%20External%20-%20Data/Users/kongkang/.nvm/versions/node/v22.21.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2443:24792)","timestamp":"2026-01-14T01:46:28.973Z"},{"error":"Error: spawn typescript-language-server ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2026-01-14T01:46:28.973Z"},{"error":"Error: Failed to start LSP server plugin:typescript-lsp:typescript: spawn typescript-language-server ENOENT\n at file:///Volumes/Macintosh%20HD%20External%20-%20Data/Users/kongkang/.nvm/versions/node/v22.21.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2443:32570\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2026-01-14T01:46:28.974Z"}]
8 Comments
yes, I need this badly too.
This also constantly trips me up.
+1. It's baffling to me how anyone can have any work done without using ctrl+b/ctrl+f/ctrl+n/ctrl+p for cursor navigation. do anthropic devs just use arrows ?
Agreed:
Now Ctrl-d (twice) no longer exits claude, great!
But now Ctrl-b is no longer backspace like it used to be. Non-destructive backspace.
bash prompt defaults to emacs control keys:
c-d delete char
c-b backspace
c-f forward
c-a beginning of line
c-e end of line
c-k kill to end of line
c-w delete word backwards
etc
It would be nice to retain those for those of us used to them. Thanks!
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
This is still a problem.
Still a problem.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.