VSCodeVim/Vim

[Bug] Custom escape binding won't trigger statusBarColorControl

オープン

#2,251 opened on 2017/12/29

 (0 件のコメント) (1 件のリアクション) (0 人の担当者)TypeScript (1,271 件のフォーク)batch import
help wantedkind/bug

Repository metrics

Stars
 (12,664 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド