Skip to content

use winsaveview instead of getpos#56

Open
xi wants to merge 1 commit intojunegunn:masterfrom
xi:fix-startofline
Open

use winsaveview instead of getpos#56
xi wants to merge 1 commit intojunegunn:masterfrom
xi:fix-startofline

Conversation

@xi
Copy link
Copy Markdown

@xi xi commented Feb 22, 2019

Consider this file:

.s

ae

If you move your cursor to the second column in the first line ("s") and then press j two times you would expect to end up in the second column in the third line ("e"). This behavior is controlled by startofline, so you results may differ if you have configured something differently.

With limelight activated you end up in the first column ("a").

getpos messes with startofline
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

Successfully merging this pull request may close these issues.

1 participant