-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
[DRAFT] feature: recenter line if jump target point is not inside window. (vi-mode) #1695
base: main
Are you sure you want to change the base?
[DRAFT] feature: recenter line if jump target point is not inside window. (vi-mode) #1695
Conversation
The code is formatted by the |
Sorry, i didn't notice that 1 line code is deleted accidently. Now the CI tests will pass. |
I remove the |
I make this pr a draft, and considering make it a feature in lem. A new The strategy can be: We can introduce a new special variable named line-positioning-strategy and making it integrate with the |
In
vim
, thejump-back
andjump-next
willrecenter jump target line
if the line is not inside the window before jump.