diff options
| -rw-r--r-- | config/emacs/sanemacs.el | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/config/emacs/sanemacs.el b/config/emacs/sanemacs.el index 43c0576..3f77fa7 100644 --- a/config/emacs/sanemacs.el +++ b/config/emacs/sanemacs.el @@ -22,22 +22,19 @@ tab-width 4) (load-theme 'modus-vivendi) -;; Write auto-saves, backups and bookmarks to `.cache` directory +;; Configure features to use `.cache` directory (setq auto-save-list-file-prefix "~/.cache/emacs/auto-save/" auto-save-file-name-transforms '((".*" "~/.cache/emacs/auto-save/" t)) backup-by-copying t backup-directory-alist '((".*" . "~/.cache/emacs/backup/")) bookmark-default-file "~/.cache/emacs/bookmarks" - create-lockfiles nil) - -;; Configure TRAMP + create-lockfiles nil + eshell-directory-name "~/.cache/emacs/eshell" + treesit-extra-load-path '("~/.cache/emacs/tree-sitter")) (with-eval-after-load 'tramp-cache (setq tramp-persistency-file-name "~/.cache/emacs/tramp")) -;; Configure Tree-Sitter -(setq treesit-extra-load-path '("~/.cache/emacs/tree-sitter")) - ;; Configure package management (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) |
