Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual selection issues. #10682

Closed
yashamon opened this issue May 4, 2024 · 0 comments
Closed

Visual selection issues. #10682

yashamon opened this issue May 4, 2024 · 0 comments
Labels
C-enhancement Category: Improvements

Comments

@yashamon
Copy link

yashamon commented May 4, 2024

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?

@yashamon yashamon added the C-enhancement Category: Improvements label May 4, 2024
@kirawi kirawi converted this issue into discussion #10683 May 4, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

1 participant