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

If line is too long and there is a "visual line break", "end" key won't move to line end #486

Open
italomaia-bk opened this issue Dec 13, 2018 · 2 comments

Comments

@italomaia-bk
Copy link

Given you have a line that is too long to display in howl without a visual line break, howl will visually break the line for you, so the beginning of a line and the end of a line might be in different lines in howl.

The thing is that when this happens, the End key will not take you to the end of the line, but to the end of the "visual representation" line. That is unexpected.

@shalabhc
Copy link
Contributor

This might be by design. E.g. pressing down doesn't take you to the next text line either, just the next visual row on the wrapped text line. In that sense these commands are visual navigation and it could be jarring to see end jump the cursor to much further down the visual space.

Would be useful to know how other common editors doe this (VSCode, Sublime etc.)

@ozra
Copy link
Contributor

ozra commented Apr 10, 2019

Perhaps it could be made a preference? Or, well, easily configurable to taste via key binds in the init.moon simply. I have no personal interest in it, just throwing a ball here :)

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

No branches or pull requests

3 participants