summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el2
-rw-r--r--.emacs.d/init.org11
2 files changed, 11 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 2d2b7bd..5ecadbd 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -910,8 +910,6 @@ from myaethon2.core.decorators import (
;;;; Unconditional settings
-(setq scroll-preserve-screen-position t)
-
;; Can't be put in an eval-after-load or such because by then it will
;; be too late.
(setq elnode-do-init nil)
diff --git a/.emacs.d/init.org b/.emacs.d/init.org
index 6694270..d3e9f9e 100644
--- a/.emacs.d/init.org
+++ b/.emacs.d/init.org
@@ -236,6 +236,17 @@
(setq window-combination-resize t)
#+END_SRC
+** Keep the cursor steady when scrolling
+
+ When scrolling through the buffer with, for example, {{{key(C-v)}}}
+ or {{{key(M-v)}}}, I find it much more intuitive to have the cursor
+ stay in the relative screen position from before. Otherwise I get
+ confused every time.
+
+ #+BEGIN_SRC emacs-lisp
+ (setq scroll-preserve-screen-position t)
+ #+END_SRC
+
* Add org-mode appointments to the diary
Diary offers reminders, which can be useful when scheduling