VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
14.01k stars 1.32k forks source link

support change normal mode statusbar color to the value defined in current color theme #9235

Open hitzhangjie opened 3 months ago

hitzhangjie commented 3 months ago

Is your feature request related to a problem? Please describe. When in normal mode, the vscodevim extension will set the statusbar color to #005f5f, which is the default value defined in vscodevim. But the color theme may use a very different color, which make the whole UI looks a little not comfortable.

Describe the solution you'd like I suggest vscodevim to record the current workbench statusbar color, and allow to use this color when in normal mode.

HenryTSZ commented 2 months ago

You can customize the status bar color

  statusBarColors: IModeSpecificStrings<string | string[]> = {
    normal: ['#005f5f', '#ffffff'],
    insert: ['#5f0000', '#ffffff'],
    visual: ['#5f00af', '#ffffff'],
    visualline: ['#005f87', '#ffffff'],
    visualblock: ['#86592d', '#ffffff'],
    replace: ['#000000', '#ffffff'],
  };
hitzhangjie commented 2 months ago

Yes, we can set the status bar colors.

I think the value of changing status bar color is let us know what we're doing in vim, like input search condition, execute builtin commands, something like that. When in normal mode, I think if the status bar color the same as the theme we select, it maybe better.

I know we may prefer 1 dark them or 1 light them, though we still change them to select a better or fresh one, so change the settings when we change the theme may be not so convenient. So far, i have configured normal color to #000000 :)