Replies: 5 comments
-
Probably has the same problem/fix as #4392 |
Beta Was this translation helpful? Give feedback.
-
Ctrl+left/right is not working at master (nothing happens when I press it). |
Beta Was this translation helpful? Give feedback.
-
I can explain what's wrong here in fewer words: let's say you have text "Helix is a nice editor."
(notice the last one)
which is kinda sus |
Beta Was this translation helpful? Give feedback.
-
I'm saying it can probably be fixed in the same way as #4392, that PR only touched |
Beta Was this translation helpful? Give feedback.
-
How does this work for you, based on how #5009 proposed remapping ctrl+w/e/b:
For me this then matches ctrl+left/right in Sublime Text, alt+left/right in Sublime Text, alt+left/right in Apple's TextEdit, etc. It feels very familiar and consistent for me! (Tested with Helix 25.1 on macOS) |
Beta Was this translation helpful? Give feedback.
-
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)Beta Was this translation helpful? Give feedback.
All reactions