about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el29
1 files changed, 21 insertions, 8 deletions
diff --git a/init.el b/init.el index afedefd..128e364 100644 --- a/init.el +++ b/init.el
@@ -18,9 +18,20 @@
18 (add-to-list 'recentf-exclude no-littering-var-directory) 18 (add-to-list 'recentf-exclude no-littering-var-directory)
19 (add-to-list 'recentf-exclude no-littering-etc-directory) 19 (add-to-list 'recentf-exclude no-littering-etc-directory)
20 20
21 (setq delete-old-versions t)
22 (setq kept-new-versions 6)
23 (setq kept-old-versions 2)
24 (version-control t)
25 (setq backup-directory-alist
26 `((".*" . ,(no-littering-expand-var-file-name "backup/"))))
27
21 (setq auto-save-file-name-transforms 28 (setq auto-save-file-name-transforms
22 `((".*" ,(no-littering-expand-var-file-name "auto-save/") t))) 29 `((".*" ,(no-littering-expand-var-file-name "auto-save/") t)))
23 (setq custom-file (no-littering-expand-etc-file-name "custom.el"))) 30 (auto-save-mode)
31
32 (setq custom-file (no-littering-expand-etc-file-name "custom.el"))
33
34 (setq create-lockfiles nil))
24 35
25(use-package auth-source 36(use-package auth-source
26 :init 37 :init
@@ -34,11 +45,6 @@
34 (when *acdw/at-larry* 45 (when *acdw/at-larry*
35 (setq visible-bell nil)) 46 (setq visible-bell nil))
36 47
37 (setq version-control t)
38 (setq delete-old-versions t)
39 (setq kept-new-versions 6)
40 (setq kept-old-versions 4)
41 (setq create-lockfiles nil)
42 (auto-save-mode) 48 (auto-save-mode)
43 49
44 (defun full-auto-save () 50 (defun full-auto-save ()
@@ -359,8 +365,10 @@
359 :straight (elpher 365 :straight (elpher
360 :repo "git://thelambdalab.xyz/elpher.git") 366 :repo "git://thelambdalab.xyz/elpher.git")
361 :bind (:map elpher-mode-map 367 :bind (:map elpher-mode-map
362 ("n" . 'elpher-next-link) 368 ("n" . elpher-next-link)
363 ("p" . 'elpher-prev-link))) 369 ("p" . elpher-prev-link)
370 ("o" . elpher-follow-current-link)
371 ("G" . elpher-go-current)))
364 372
365(use-package gemini-mode 373(use-package gemini-mode
366 :straight (gemini-mode 374 :straight (gemini-mode
@@ -569,3 +577,8 @@
569 (circe-my-message-face ((t (:inherit 'circe-highlight-nick-face :weight normal)))) 577 (circe-my-message-face ((t (:inherit 'circe-highlight-nick-face :weight normal))))
570 (circe-originator-face ((t (:weight bold)))) 578 (circe-originator-face ((t (:weight bold))))
571 (circe-prompt-face ((t (:inherit 'circe-my-message-face))))) 579 (circe-prompt-face ((t (:inherit 'circe-my-message-face)))))
580
581(use-package eshell-syntax-highlighting
582 :after esh-mode
583 :config
584 (eshell-syntax-highlighting-global-mode 1))