sublimity icon indicating copy to clipboard operation
sublimity copied to clipboard

Avoid cursor jumping towards middle when it goes out of bound

Open ianyepan opened this issue 3 years ago • 1 comments

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?

ianyepan avatar Apr 09 '21 16:04 ianyepan

Friendly ping.

ianyepan avatar Feb 11 '22 07:02 ianyepan