-
Notifications
You must be signed in to change notification settings - Fork 715
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
[QUESTION] Cursor up/down navigation in soft-wrapped text (gj/gk in Vim) #5163
Comments
When you say the cursor in navigation for vim So I can't wrap my head (no pun intended) around it. Even vim has a After reading some of the referenced issues you posted (thank you for that) it resembles what a vim plugin such as pencil would do by Wrapping the line around as you type. It's innovative no doubt But I like long lines a la ed editor. The original. The only one. Anything that comes after is just a remake. If one has a
it may not have the same effect as a the pencil plugin with vim does, but it's fairly acceptable I think |
Thanks for looking into this!
Sorry, English is not my native language, so I'm no 100% sure I understand you correctly, but the IMHO: as Kakoune gives us an option to soft-wrap lines, there should be a way to go up/down the display (virtual soft-wrapped) lines instead of physical lines. The lack of this motion makes user constantly toggle the soft-wrap on/off, because navigating in heavily soft-wrapped text currently is a nightmare. |
You're correct. It is as default in say neovim, or whatever, say vim , as much as a plugin would be therein. The motion but I agree with you in that kak ought to implement it |
@VKondakoff As you said, this is an old issue with many duplicates at this point. I would close this out and discuss any solutions in one of the existing issues, like #1425. @nonumeros |
So what? It's not less an add-on than before. And it'd be pretty safe to assume most vim users are not vi users. And of course, I would agree with you in that it's been there forever but then again that alone doesn't mean shit. Pardon my french. Quoting mawww here
and
I personally would have thought his first statement was the opposite of the behavior but I don't know. That's all. |
@nonumeros I think civility is important in conversations. Please don't appeal to ridicule. Let's just leave the history of
The person who opened #1435 wanted From my reading of the issues, the reason this hasn't been implemented is that there are tricky edge cases. There aren't easy ways to perform the necessary calculations for selections that are off-screen, which is likely to occur with multiple selections. Additionally, there are different types soft wrapping, including at word boundaries, taking into account previous line indents, etc. |
I probably agree more with you than with mawww in this one. As much as I can support and love mawww for his relentless pursuit for the editor doesn't translate onto bending backwards for the vision and certain aspects of whatever comes into play Some of that conversation goes on and on with even coordinates by other users. For crying out loud I reckon those are indeed the calculations you must have been referring to. But these supposedly calculations are nothing more than a sure way to flunk it off altogether. it's like cheating ahead of the exam and then calling it off flawed. If keybinding mappings are considered by mawww and these in turn would not interfere later on with something else, so be it. But if, to give you an example, you notice and were to invoke And if later on you go right ahead (recall that But yes. The least amount of real estate terminal with |
Afaict still not possible. I don't think a |
Question
Hi!
This issue is quite old. Here are some previous discussions: #3649 , #2851, https://discuss.kakoune.com/t/navigating-line-wrapped-text/700/7 .
Unfortunately, none of the workarounds discussed in these threads are working in the latest Kakoune. Any chance to see some new ideas?
Thank you!
The text was updated successfully, but these errors were encountered: