Skip to content

Say I have scrolled horizontally rightward how do I get the first visible line number? #24033

Closed Answered by luukvbaal
nyngwang asked this question in Q&A
Discussion options

You must be logged in to vote

vim.fn.winsaveview() contains the leftcol field, that should be what you're looking for.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nyngwang
Comment options

Answer selected by nyngwang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants