-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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-line-mode navigation should move logical lines on up/down keys #6616
Comments
Please reopen this issue, as I am experiencing the same problem. As I am using a nonstandard keyboard layout, so System Info
Thanks, |
It is open, though inactive. |
+1 |
I have merged the fix from duianto, @afcowie would you mind checking whether this fixed your issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Description
At first I thought visual-line-mode didn't work; no matter how many times I toggled, manually invoked, etc, in a text document with long lines (aka paragraphs) the cursor kept jumping between paragraphs, not [visual] lines.
Then randomly it was working, and I couldn't figure out what the difference was... until I discovered that visual line mode works when vi keys are used (
h
,j
,k
,l
) but doesn't work when arrow keys (up
,down
) are used.Reproduction guide
SPC t L
Expected behaviour:
I would expect navigation vertically across paragraphs in visual line mode to be by logical line regardless of whether navigating up/down via
j
/k
orup
/down
.Based on discussion in a few other issues #681 and #6177 it seems like the settings changed by toggling visual line mode might need to have Up and Down added. Hopefully it's that simple.
System Info
AfC
The text was updated successfully, but these errors were encountered: