Skip to content
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

Swapped special register keys #8702

Closed
benhsm opened this issue Nov 2, 2023 · 1 comment · Fixed by #8703
Closed

Swapped special register keys #8702

benhsm opened this issue Nov 2, 2023 · 1 comment · Fixed by #8703
Labels
A-command Area: Commands C-bug Category: This is a bug

Comments

@benhsm
Copy link

benhsm commented Nov 2, 2023

Hi, I've been enjoying the enhanced register support in release 23.10, but there's a minor issue that's bothering me. Coming from Vim, + was used to refer the system clipboard, and * was used to refer to the primary selection, but in Helix these are currently swapped with each other. This isn't a big deal, but it works against my muscle memory, and I imagine that might also be true for other ex-vim users with a habit of using those register keys.

Is this an intentional difference? If it makes sense to swap these keys to be consistent with Vim's, and if it would help, I could open a pull request to change the relevant code and documentation. I suppose there's also the possibility of making this behavior configurable, but I don't have a good sense of what that might take.

@the-mikedavis
Copy link
Member

Ah this looks like an oversight by me in #6985. Yeah, we should probably swap them as they were introduced to be similar to the registers from vim

@the-mikedavis the-mikedavis added C-bug Category: This is a bug A-command Area: Commands labels Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-command Area: Commands C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants