diff --git a/config.org b/config.org index b5a3225..4726897 100644 --- a/config.org +++ b/config.org @@ -261,7 +261,11 @@ Restore it to reasonable value after init. Also stop garbage collection during m (setq custom-safe-themes t) ;; don't ask me if I want to load a theme (setq sentence-end-double-space nil) ;; don't coun two spaces after a period as the end of a sentence. (delete-selection-mode t) ;; delete selected region when typing -(save-place-mode 1) ;; saves position in file when it's closed +(use-package saveplace + :config + (save-place-mode 1) ;; saves position in file when it's closed + :custom + (save-place-file (concat MY--PATH_USER_LOCAL "places"))) (setq save-place-forget-unreadable-files nil) ;; checks if file is readable before saving position (global-set-key (kbd "RET") 'newline-and-indent) ;; indent after newline (setq save-interprogram-paste-before-kill t) ;; put replaced text into killring