{"version":"2.1.301","anchor":"vim-mode-reports-editing-state-to-the-host","canonical_anchor":"vim-mode-reports-editing-state-to-the-host","heading":"Vim mode now tells Claude Code when Esc belongs to vim","tier":"internal","area":"Terminal UI","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.301\/e\/vim-mode-reports-editing-state-to-the-host","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.301","markdown":"### Vim mode now tells Claude Code when Esc belongs to vim\n\nIn vim editing mode, the input box now reports when Esc is needed by vim, such as outside normal mode or mid-command\n\n**What**\n\nClaude Code's input box has a vim mode, which lets you edit text with the keys of the vim editor. The input box now reports its editing state to the rest of Claude Code: which vim mode it is in, and whether Esc belongs to vim. Esc counts as vim's when you are outside normal mode or partway through a command.\n\n**Why**\n\nEsc is also how you stop Claude mid-reply. With this, Claude Code can tell an Esc meant for vim apart from one meant to interrupt, so finishing a vim command is less likely to stop Claude's turn.\n\n- Area: Terminal UI\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}