summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.org
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.org')
-rw-r--r--.emacs.d/init.org11
1 files changed, 11 insertions, 0 deletions
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