[Bug] Custom escape binding won't trigger statusBarColorControl
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
What happened:
When i'm using my jj keybind in insert mode the status bar's color isn't changing. The mode changed to normal mode.
When i'm using my escape key in insert mode the status bar's color is changing properly.
What did you expect to happen:
When using the jj keybind to go back to normal mode, expect the status bar's color to change like when i'm using the standard escape key.
How to reproduce it (as minimally and precisely as possible):
Use my color settings, press i to go in insert mode and then press jj.
Notice the status bar's color.
These are in my settings.json
"vim.insertModeKeyBindings": [
{
"before": [
"j",
"j"
],
"after": [
""
]
}
],
"vim.statusBarColorControl": true,
"vim.statusBarColors": {
"normal": "#005f5f",
"insert": "#5f0000",
"visual": "#5f00af",
"visualline": "#005f87",
"visualblock": "#86592d",
"replace": "#000000"
},
Environment:
Windows 8
vscode 1.19.1
vscodevim 0.10.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 VS Code with the shown settings.json, comparing the jj insert-mode binding with the Escape key. Trace how each transition updates statusBarColorControl; done means returning to normal mode through jj applies the configured normal status bar color.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100