{"version":"2.1.247","anchor":"vim-mode-passes-the-cursor-around-instead-of-stashing-it","canonical_anchor":"vim-mode-passes-the-cursor-around-instead-of-stashing-it","heading":"Vim mode passes the cursor around instead of stashing it","tier":"internal","area":"Terminal UI","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247\/e\/vim-mode-passes-the-cursor-around-instead-of-stashing-it","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247","markdown":"### Vim mode passes the cursor around instead of stashing it\n\nVim mode always knows your cursor now, so some keys no longer silently do nothing.\n\n**What**\n\nThe vim keybinding hook no longer keeps the text buffer in a stored reference; the buffer and cursor are handed into key handling, mode switching, insert-exit and dot-repeat as arguments. Handlers that used to give up when the stored reference was empty always have a cursor now, and entering visual mode uses the caller's offset directly instead of falling back to zero. Insert-mode remap detection and its telemetry are unchanged.\n\n**Evidence**\n\n`cancelPendingRemap: ie,`\n\n- Area: Terminal UI\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 1\/5"}