Comments on centered-cursor-mode.el

To make this work correctly with visual-line-mode when scrolling up/down, replace forward-line in ccm-scroll-up and ccm-scroll-down with next-line. As the code stands now, PgUp/PgDn does not scroll correctly when lines are soft-wrapped.

– Andy 2019-02-01 06:03 UTC


As of Emacs 26.1, this can probably be replaced with

(setq maximum-scroll-margin 0.5
      scroll-margin 99999
      scroll-preserve-screen-position t
      scroll-conservatively 0)

– npostavs 2019-06-12 12:57 UTC


Please make sure you contribute only your own work. IP numbers are made available via the page history. If you want to keep it a secret, you need to use Tor. See TextFormattingRules for how to format text. See StyleGuide for the suggested writing style on this wiki.

To save this page you must answer this question:

What is the greatest editor out there?