Skip to content

Support for scrolloff (scroll offset) by default #4

Description

@pavan-kalyan

When cursor goes to the bottom, we should auto add new lines to the bottom to keep the cursor always some n lines above bottom. Many times, people manually do this to keep the content at the middle of the screen. but it can be automatic. many editors support this. scrolloff setting in vim.

I don't know how to set this for ace editor.
but there is a way to do this for codemirror (https://stackoverflow.com/a/23564408/7470050).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions