Escape not returning to normal mode from insert mode
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
- Enable Vim exstension.
- Open any text document.
- Properly move cursor using Vim movement keys.
- Enter Vim edit mode by pressing 'i' or 'a' etc., and type some text.
- Press 'esc' to return to Vim movement mode.
- Vim does not return to movement mode as expected, but remains in edit mode.
I have remapped(switch) esc with capslock in ubuntu terminal in xev hitting capslock gets me "keycode 66 (keysym 0xff1b, Escape)", and my capslock button works as esc(and switching in normal mode) flawlessly in original vim, in vim mode on pycharm and idea.
Extension version: 1.26.0
VS Code version: Code 1.82.1 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-14T05:51:20.981Z)
OS version: Ubuntu x64 20.04.6
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
Start by reproducing the issue in the VS Code Vim extension on Ubuntu 20.04 with Caps Lock remapped to Escape, following the six steps in the report. Compare the behavior of the remapped key with a physical Escape key; done means both keys reliably return Vim from insert mode to movement mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100