Set different color for cursor when it is at the end of a line? #5451
Replies: 3 comments 2 replies
-
Made this a while ago but thought of it again today. Variants might be:
|
Beta Was this translation helpful? Give feedback.
-
I suggest you change your config to make the newline visible (defaults to "⏎"), and when you are used to it, you can remove it again if you like: https://docs.helix-editor.com/configuration.html#editorwhitespace-section |
Beta Was this translation helpful? Give feedback.
-
I've just learned about 'shift-x' selecting only the current line and not extending the selection to the next one and I imagine that improves things significantly if I can get used to using that :) Probably avoids the need for my original request in the first place. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm really enjoying using Helix and I'm grateful for the project.
I've transitioned from vim and one thing that catches me out is that when the cursor is at the end of the line, I guess, it is selecting the newline and so pressing 'a' goes on to the next line. Or if the line is empty then you're selecting the newline so 'x' selects the line below instead of just the current line.
I can see why there happen and I don't think it is a good idea to change them to be more contained in the line but I wonder if it might be useful to be able to have the cursor a different color when it is on the newline at the end of a line so that there is some visual indication that some things will behave a little differently that one might unthinkingly expect.
I'm not a UX designer. I don't know if there might be other ways of approaching this. I'm not confident in this suggestion but I'm just trying to think of things that might allow me to make mistakes less often in this situation.
I do have a new line white space character so I can technically see when the cursor is on the end of the line but it isn't a huge visual clue.
Beta Was this translation helpful? Give feedback.
All reactions