VSCodeVim/Vim

[Bug] Custom escape binding won't trigger statusBarColorControl

Open

#2,251 创建于 2017年12月29日

在 GitHub 查看
 (0 评论) (1 反应) (0 负责人)TypeScript (12,664 star) (1,271 fork)batch import
help wantedkind/bug

描述

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

贡献者指南