Vim INSERT-mode key sequence remaps#
What's wrong with this entry?
Users who enable vim mode can now define custom two-character key sequences that trigger actions in INSERT mode, similar to the classic jj → <Esc> mapping from Vim configurations.
Add to ~/.claude/settings.json:
{
"editorMode": "vim",
"vimInsertModeRemaps": {
"jj": "<Esc>",
"jk": "<Esc>"
}
}- Each key is exactly two printable characters typed in sequence
"<Esc>"(return to NORMAL mode) is the only supported target value- Only active when
editorModeis set to"vim" - Multiple remaps can be configured simultaneously
New vimInsertModeRemaps setting schema (search for "Vim INSERT-mode key-sequence remaps")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.