⌨️vimInsertModeRemaps
Also known as vimInsertModeRemaps setting, jj to Escape
The key that lets two letters in a row, such as jj, act as Esc in vim mode.
Think of it like
It is like a secret knock. Two quick taps mean the same as one big knock.
Example
Leo's hands are used to jj in his editor. He maps jj to <Esc>, and Claude Code feels the same.
Why it matters
Esc is far from the keys you type with, and two letters are close.
Definition
Example code
json
{
"editorMode": "vim",
"vimInsertModeRemaps": { "jj": "<Esc>" }
}Common mistake
Key takeaways
- 1Two keys to Esc. Such as jj.
- 2Only <Esc>. As the target.
- 3User or managed only. Not a project.