VSCodeVim / VSCodeVim/Vim

Make dismissing copilot on escape optional

Open
#9,856 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Is your feature request related to a problem? Please describe.
I keep accidentally dismissing copilot suggestions whenever I leave insert-mode. See also https://github.com/microsoft/vscode/issues/278044.

Describe the solution you'd like
I would like an option to not automatically dismiss copilot when I leave insert-mode. And/or the ability to use different keybindings for dismissing copilot and entering normal-mode.

Describe alternatives you've considered
We could also not dismiss copilot when leaving insert-mode, but only dismiss it when we are already in normal-mode. That would in my opinion be a way more sensible default.

Additional context
The fix in #9624 hard-coded vimEscape to always dismiss copilot suggestions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the change in #9624 where vimEscape was hard-coded to dismiss Copilot suggestions. Trace how leaving insert mode and the relevant keybindings are handled, then clarify whether the option should prevent dismissal, add separate bindings, or change dismissal timing. Done means the selected behavior is configurable and covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.