Skip to content

Avoid cursor jumping towards middle when it goes out of bound #65

@ianyepan

Description

@ianyepan

I know that Emacs has this unique behavior (which I'd like to avoid) when we press the arrow-down key till it reaches the end of the frame, instead of revealing more lines "line-by-line" like any other editor, Emacs' cursor pulls the content towards the center of the frame, revealing at once the next half-window-height lines of content.
Without activating sublimity, I was able to suppress this unique behavior with the following 2 lines:

  (setq scroll-conservatively 101) ; as long as it's > 100
  (setq scroll-preserve-screen-position t)

However, with sublimity + sublimity-scroll enabled, the unique behavior can't be suppressed anymore. How can I deal with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions