How to avoid selecting the first character of the current line? #12333
Unanswered
tavianator
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In Emacs as well as most GUI text editors (e.g. the textbox I'm now typing in), if I select multiple lines with Shift+↓, the cursor will be at the beginning of the line, but not including the first character of that line. In Helix though, if I select a few lines with v, ↓, ↓, ..., the cursor will be on the beginning of a line including the first character. Then if I delete the selection with d (for example), it also eats the first character of that line. As an example, I'll select some code inside a
#ifdef
region like thisand delete it, resulting in
and then I have to re-type the
#
.Is there a way to make the selection not include the character the cursor is directly on, to match other editors?
Beta Was this translation helpful? Give feedback.
All reactions