VSCodeVim/Vim

[Bug] Custom escape binding won't trigger statusBarColorControl

Open

#2251 aperta il 29 dic 2017

Vedi su GitHub
 (0 commenti) (1 reazione) (0 assegnatari)TypeScript (1271 fork)batch import
help wantedkind/bug

Metriche repository

Star
 (12.664 star)
Metriche merge PR
 (Merge medio 9g 13h) (7 PR mergiate in 30 g)

Descrizione

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

Guida contributor