Browse Source

Fix scrolling on TTY

main
parent
commit
ba233e5a53
  1. 13
      modules/editor.org
  2. 3
      modules/interface.org

13
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! 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 * Keybindings
Offer =ESC= as an alternative to quit (most) prompts, instead of the default =C-g=. Offer =ESC= as an alternative to quit (most) prompts, instead of the default =C-g=.

3
modules/interface.org

@ -232,7 +232,8 @@ Relative line numbers are important when using VI emulation keys. You can prefix
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package linum-relative (use-package linum-relative
:commands (linum-relative-global-mode) :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 #+end_src
Toggle line numbers with =SPC t l=. Toggle line numbers with =SPC t l=.

Loading…
Cancel
Save