This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
insert mode Ctrl+left/right
navigation is kinda broken
#3395
Labels
A-helix-term
Area: Helix term improvements
C-discussion
Category: Discussion or questions that doesn't represent real issues
Hi, referring my long complain about Helix not being as good as I would want it to be I am writing this issue to clear more on what is wrong with word-wise navigation in insert mode.
assume we have this text (repeated 2-3 times to demonstrate wrapping behaviors):
How it works in VS Code
and backwards:
How it looks in Helix
you might think that the next step will be
but in fact it wraps to the next line and sits like this:
and when navigating backwards it will visit different stops than when navigating forward:
whoa, that's a lot of greetings! I really hope that you can spot what I'm talking about.
from this little experiment we can conclude a few things:
there are other contexts like command-line prompt when you can use Ctrl+left/right to navigate, and they're also differ, but some things (like where the stop sits, on the last char or before it) are more sensible there as well
I've noticed that Ctrl+left/right uses
move_prev_word_end
andmove_next_word_start
actions, and as properly mentioned in a similar issue #2729 it should be decided what we shouldcount as a word
(and whether to use or not this ambiguous term at all)The text was updated successfully, but these errors were encountered: