mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2026-02-04 16:10:56 +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
|
;; - use my own autoscratch triggers
|
||||||
;; - kill-all-buffers now uses 'autoscratch-buffer
|
;; - kill-all-buffers now uses 'autoscratch-buffer
|
||||||
;; - renamce autoscratch
|
;; - renamce autoscratch
|
||||||
|
;; - tuned recenter-positions
|
||||||
|
|
||||||
;; 20170722.01:
|
;; 20170722.01:
|
||||||
;; - added followcursor-mode
|
;; - added followcursor-mode
|
||||||
@@ -1105,6 +1106,17 @@ to next buffer otherwise."
|
|||||||
|
|
||||||
(setq persistent-scratch-scratch-buffer-p-function 'tvd-autoscratch-p)
|
(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
|
;; * Global Key Bindings
|
||||||
;; --------------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------------
|
||||||
;; ** c-h != delete
|
;; ** c-h != delete
|
||||||
|
|||||||
901
emacs.html
901
emacs.html
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user