Move backup files to ~/.saves
This commit is contained in:
@@ -64,6 +64,13 @@
|
|||||||
;; automatically cleanup whitespace on save
|
;; automatically cleanup whitespace on save
|
||||||
(add-hook 'before-save-hook 'whitespace-cleanup)
|
(add-hook 'before-save-hook 'whitespace-cleanup)
|
||||||
|
|
||||||
|
;; clean up backup file spam
|
||||||
|
(setq backup-directory-alist `(("." . "~/.saves"))
|
||||||
|
delete-old-versions t
|
||||||
|
kept-new-versions 4
|
||||||
|
kept-old-versions 2
|
||||||
|
version-control t)
|
||||||
|
|
||||||
(use-package project
|
(use-package project
|
||||||
:config
|
:config
|
||||||
;; Make project.el recognize directories with a .project file as project roots
|
;; Make project.el recognize directories with a .project file as project roots
|
||||||
|
|||||||
Reference in New Issue
Block a user