-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stronger visual indication of Normal mode in status bar #13
Comments
Changing the caret color is another possibility (not sure how hard this is to do though). |
We have to be careful about changing the color of the status bar. As stated in the vim extension:
More details here: VSCodeVim/Vim#2124 |
This is definitely a worthwhile idea, but requires some investigation. I don't know how easy/difficult it would be to change the color of the cursor(s), status bar or other elements of the UI. Indeed, one must be careful not to adversely impact the performance. Another concern regarding using colors is the theme support. The highlight colors should definitively be customizable and off by default. It is impossible to automatically pick a color that would be good in both light and dark themes. I will explore what possibilities there are, and get back to this. Meanwhile, any ideas are welcome. |
Cursor color seems to be easy to change. So if no objections arise, I'll add in the configuration three new options:
All of these are |
Changing cursor color is not possible without constantly updating either global or workspace level settings.json file. Therefore, implemented the original request instead. Now it is possible to change the status bar text and its color in configuration. Also fixed a subtle but annoying bug in the search command.
Doesn't the linked solution have the same problem as modifications to the status bar? It changes the workspace configuration which is persistent across sessions no? Meaning that every time you switch between normal and inset mode the workspace settings.json file will change?? |
Yes it does. I tried that approach in this commit and reverted back to a different solution. In upcoming version 2.0, there is a configuration option to change both status bar text (including icons) and color in each mode. Hopefully this will be strong enough indication of current mode. Only status bar text color can be changed without changing the static configuration. Background cannot be changed. |
Implemented in version 2.0. See documentation for details. |
Hi @johtela , really enjoying vscode-modaledit :)
I'm just getting started with vscode after using vim for the past however many years, so apologies if this is something I should be able to do myself..
In vim, the different modes have very different colors in the status bar. I think it would help if this extension did something similar. Would it be possible to add something like
modaledit.statusBar.normalBackgroundColor
andmodaledit.statusBar.normalForegroundColor
? Maybe the same for insert?Thanks!
The text was updated successfully, but these errors were encountered: