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

Feature Request: navigate wrapped lines as individual rows in Vim mode #389

Open
csala opened this issue Oct 18, 2024 · 0 comments
Open

Comments

@csala
Copy link

csala commented Oct 18, 2024

Is your feature request related to a problem? Please describe.

When Vim mode is enabled, lines which are wrapped into multiple editor rows behave like a single long line, making it difficult to navigate and edit the middle parts of the line.

So, for example, in the screenshot example, if the cursor is set on top of the laboris word and in normal mode, pressing j does not move the cursor to the word reprehenderit, but instead directly to line number 2, which is 4 editor rows below. Similarly, pressing 0 does not move the cursor to the beginning of the word nostrud, but to the word Lorem 3 rows above.

image

In contrast, when Sublime mode is enabled, each row in the wrapped line can be navigated individually with the arrows or Home+End keys.

Describe the solution you'd like

I would like navigation keys h j k l $ 0... to allow moving the cursor between different rows of the wrapped long line like arrows do in Sublime mode.

@csala csala changed the title Feature Request: navigate wrapped lines in Vim mode Feature Request: navigate wrapped lines as individual rows in Vim mode Oct 18, 2024
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