From b0ace772ceb0f3dd77a21f78f4bea3b034b246bf Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 11 Apr 2022 14:50:29 +0200 Subject: [PATCH] [Emacs] Change scrolling behavior in Emacs --- org/config/emacs.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/org/config/emacs.org b/org/config/emacs.org index 033db28..b18b078 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -139,6 +139,14 @@ in camelCase words, and allows us to jump words on this finer level. (global-subword-mode 1) #+end_src +Changing half my screen each time my cursor goes too high or too low +is not exactly ideal. Fortunately, if we set ~scroll-conservatively~ +high enough we can have the cursor stay on top or at the bottom of the +screen while the text scrolls progressively. +#+begin_src emacs-lisp +(setq scroll-conservatively 1000) +#+end_src + Lastly, I want the default mode for Emacs to be Emacs Lisp. #+begin_src emacs-lisp (setq-default initial-major-mode 'emacs-lisp-mode)