mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 12:30:59 +01:00
re-added recenter-positions config (lost)
This commit is contained in:
12
.emacs
12
.emacs
@@ -564,6 +564,7 @@
|
||||
;; - use my own autoscratch triggers
|
||||
;; - kill-all-buffers now uses 'autoscratch-buffer
|
||||
;; - renamce autoscratch
|
||||
;; - tuned recenter-positions
|
||||
|
||||
;; 20170722.01:
|
||||
;; - added followcursor-mode
|
||||
@@ -1105,6 +1106,17 @@ to next buffer otherwise."
|
||||
|
||||
(setq persistent-scratch-scratch-buffer-p-function 'tvd-autoscratch-p)
|
||||
|
||||
;; ** Recenter config
|
||||
|
||||
;; [[http://oremacs.com/2015/03/28/recenter/][via abo abo]]
|
||||
|
||||
;; However, I set the first position to 1, which causes the window to
|
||||
;; be recentered on the second line, that is, I can see one line above
|
||||
;; the current one. It works the same with bottom, which I intend, but
|
||||
;; I think this is a recenter calculation bug.
|
||||
|
||||
(setq recenter-positions '(1 middle bottom))
|
||||
|
||||
;; * Global Key Bindings
|
||||
;; --------------------------------------------------------------------------------
|
||||
;; ** c-h != delete
|
||||
|
||||
Reference in New Issue
Block a user