-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Cursorline colors #7164
Comments
I think originally this wasn't done as to not overcomplicate the theme scopes #2170 (comment), to implement this though you would probably want to do something similar to the matching here https://github.com/helix-editor/helix/pull/5130/files though with just the |
Currently, we can do it on the cursor only:
|
Do I just add this to the .toml file of the theme I am using? |
to add that to the theme you are using, you can make a new theme file in inherits = "<name of theme you are using>"
# theme scopes you want to override then use the name of that new file as your theme name this is separate to this issue though and still doesn't solve having a different cursorline color depending on the mode |
I put this in a file and set my theme to it. But all that happens is when I enter insert, or select mode my cursor disappears. Also I don't want to affect select mode. I want blue on normal mode if that is possible. I understand that it won't give me a full cursor line but even just changing the cursor color would still be pretty good. Thanks |
something like this will make the primary cursor blue in normal mode and keep it the same as the theme in normal and select (the above is the palette from a different theme which is probably why your cursor is disappearing) inherits = "solarized_light"
"ui.cursor.primary.normal" = { fg = "base03", bg = "blue" } |
Ok that fg setting works for everything. Thanks. I will leave the issue open because I still think it would be a nice feature to implement |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hi,
I am new to using helix and so far I have really liked it, but something that I am missing from Vim is the ability to have a different color cursor line for when i am in Insert mod vs Normal mode.
For example I want my cursor line to have a blue background when I am in Normal mode, and a red background when I am in insert mode.
I find it a lot easier than looking to the bottom to see what mode I am in.
Adding such a feature would be really nice.
Thanks
The text was updated successfully, but these errors were encountered: