diff --git a/modules/editor.org b/modules/editor.org index 7b67cdb..c530253 100644 --- a/modules/editor.org +++ b/modules/editor.org @@ -10,6 +10,19 @@ Configuration and imrpovements to the editor experience within Emacs. *Vim*[fn:1] user? This module extends the keybindings by implementing *Evil*[fn:2]. *Doom*[fn:3], *Spacemacs*[fn:4]? The all powerful leader key is also implemented right here! +* Scrolling + +The default scrolling behaviour, especially on the *TTY* is far too jumpy for my tastes. + ++ Scroll conservatively ++ Jump one line at a time + +#+begin_src emacs-lisp +(setq scroll-step 1 + scroll-conservatively 10000 + auto-window-vscroll nil) +#+end_src + * Keybindings Offer =ESC= as an alternative to quit (most) prompts, instead of the default =C-g=. diff --git a/modules/interface.org b/modules/interface.org index 2c86d95..9c99740 100644 --- a/modules/interface.org +++ b/modules/interface.org @@ -232,7 +232,8 @@ Relative line numbers are important when using VI emulation keys. You can prefix #+begin_src emacs-lisp (use-package linum-relative :commands (linum-relative-global-mode) - :custom (linum-relative-backend 'display-line-numbers-mode)) + :custom (linum-delay t) + (linum-relative-backend 'display-line-numbers-mode)) #+end_src Toggle line numbers with =SPC t l=.