Save Place with saveplace, now in a use-package
This commit is contained in:
parent
36ff6dc034
commit
20b6ea4e1f
5
init.el
5
init.el
@ -101,11 +101,6 @@
|
||||
;; Speed up scrolling down (why is this even a thing?)
|
||||
(setq auto-window-vscroll nil)
|
||||
|
||||
;; save place in all files
|
||||
(save-place-mode t)
|
||||
(defvar save-place-file
|
||||
(expand-file-name "file-position-save" backup-directory))
|
||||
|
||||
;; Display "labmda" as λ
|
||||
(global-prettify-symbols-mode 1)
|
||||
|
||||
|
@ -23,6 +23,13 @@
|
||||
(use-package savehist
|
||||
:straight (:type built-in)
|
||||
:init (savehist-mode))
|
||||
;; save place in all files
|
||||
(use-package saveplace
|
||||
:straight (:type built-in)
|
||||
:init (save-place-mode t)
|
||||
:custom
|
||||
(save-place-file
|
||||
(expand-file-name "file-position-save" backup-directory)))
|
||||
;; Visualize whitespace. In a very chill and invisible way.
|
||||
(use-package whitespace
|
||||
:straight (:type built-in)
|
||||
|
Loading…
Reference in New Issue
Block a user