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

x does not keep selecting lines #1

Closed
jameynakama opened this issue Apr 30, 2024 · 2 comments
Closed

x does not keep selecting lines #1

jameynakama opened this issue Apr 30, 2024 · 2 comments

Comments

@jameynakama
Copy link

Hey, I love that you've done this! I really like helix's movements, but the editor itself isn't really ready for prime-time, in my opinion, due to its lack of plugins and configurability.

One thing I've noticed right away is that x doesn't continue to select lines; it just toggles line selection if you keep pressing it.

@chtenb
Copy link
Owner

chtenb commented May 1, 2024

I pushed a fix that should mitigate this. I personally use the bindings from apocryphal.vim, which is why this issue hadn't bothered me:

" More intuitive whole line selection using J/K
map J ZVv
xmap vJ Zjv
map K ZVv
xmap vK Zkv

noremap <A-j> J

which is inspired by this helix map: helix-editor/helix#9080 (comment)

@chtenb chtenb closed this as completed May 1, 2024
@jameynakama
Copy link
Author

EXCELLENT, thank you! I tried but couldn't figure it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants