Skip to content

Cursor sync offset/more centered (like Vim's scrolloff) #146

@tuurep

Description

@tuurep

From offtopic discussion

Me:

The way the cursor line is at the very bottom of the page feels pretty disorienting to me when opening

But what I'm getting to with this is that I wish the cursor sync could have a similar option to Vim's scrolloff, if you know what I mean

But of course it's more complicated because lines aren't a fixed size like in terminal

Jannis:

Yes definitely. I have also had this thought but haven't followed it to think about how to implement that, haha. We use JavaScript's scrollIntoView for the scrolling, we could look into that and see how much effort it would be to implement or if that's already a feature there anyways

EDIT maybe also this. Can't look into it in detail right now.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions