From 77cef53b30b6261a6d0c4fda85c4af5175b58901 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 20 Apr 2014 15:17:36 +0200 Subject: Move scrolling position setting to init.org --- .emacs.d/init.el | 2 -- .emacs.d/init.org | 11 +++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) (limited to '.emacs.d') 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 -- cgit v1.2.3-54-g00ecf