Cannot exit command mode with `<C-c>`
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
VSVim will not exit command mode with if the following is present in the client settings:
"vim.useCtrlKeys": false,
"vim.handleKeys": {
"<C-c>": true,
},
To Reproduce
Steps to reproduce the behavior:
- Set context to editor;
- press ':' for command mode;
- press
<C-c>; - command mode is still active, and not exited;
- finally press
<Esc>and the command mode is terminated.
Expected behavior
The command mode should no longer be active after pressing <C-c>.
The behavior should be the same as if
"vim.useCtrlKeys": true,
were present in the settings file.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Reproduce the issue with the shown VS Code settings, then trace the command-mode handling and Ctrl-C keybinding path. Done means Ctrl-C exits command mode when vim.useCtrlKeys is false, matching the behavior when it is true.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100