Replies: 2 comments 5 replies
-
To address the first point:
[keys.normal]
v = ["collapse_selection", "select_mode"]
To address the second point:
|
Beta Was this translation helpful? Give feedback.
4 replies
-
I don't think you understand, I am not saying it is impossible to make the
selection, after all you can also do V followed by trimming the ends.
I am saying it is not consistent! I can keep modifying the example forcing
you to keep modifying the approach. That is absurd.
In neovim the same trivial algorithm works for any selection.
…On Tue, Jun 25, 2024 at 8:13 PM Kirawi ***@***.***> wrote:
Okay I misread.
foo [bar] epsilon delta
e
foo [bar epsilon] delta
A-; b
[foo bar epsilon] delta
—
Reply to this email directly, view it on GitHub
<#10683 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQGIZS4RR2BHI6SMFNTYCTZJIBSNAVCNFSM6AAAAABJ2YQG2WVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQNZWG44DK>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Vistual selection is currently problematic. For example:
foo bar epsilon delta
cursor on foo. I want to select bar epsilon. Move by w, foo is is selected, go to Visual mode, foo that stays selected. This is almost never what the user intends. If I wanted my visual selection to start with foo I would have used visual selection right away.
So after moving to bar, I have to remove the selection of foo first. And you can't even escape, you must move the cursor around to remove selection.
This issue can be fixed by complicated remapping, which totally defeats the idea of helix to be simpler than neovim. In neovim this already behaves correctly because the movement w is itself modal. In other words as stated by many users, out of the box neovim actually requires less keystrokes in normal use scenarios and is more intuitive to boot.
A simple fix in helix would be to force V to clear all previous selections by default maybe adding another command to enter visual mode and keep previous selection.
Another issue is so bizarre it might be a bug. Example:
foo bar epsilon delta
cursor on bar V/delta does not select until delta, it just jumps to delta. How could this possibly be intended?
Beta Was this translation helpful? Give feedback.
All reactions