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

cursor movement and perform an action until a key is released? #221

Open
jibanes opened this issue Jul 21, 2023 · 0 comments
Open

cursor movement and perform an action until a key is released? #221

jibanes opened this issue Jul 21, 2023 · 0 comments

Comments

@jibanes
Copy link

jibanes commented Jul 21, 2023

In Vintage mode, if I use the arrow keys, or h/j/k/l I can navigate through the document.
However if I stay pressed on the arrow keys, it "scrolls", meaning that the cursor will continuously move until I release the key.
This is not the case using h/j/k/l, I have to keep pressing the key to scroll through the document, in contrast with vi itself.

Is there any way to replicate the vi behavior pertaining to the behavior of the h/j/k/l movement keys (I don't use arrow keys.)

Thank you!

Post-scriptum: also (I've just discovered this) is it possible that if one presses 'x' without releasing, it would delete text until 'x' is released (much like in VI)?

@jibanes jibanes changed the title scroll cursor movement and perform an action until a key is released? Jul 22, 2023
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

1 participant