aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r--emacs/.emacs.d/init.el12
1 files changed, 10 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 4503849..c8342ef 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -71,12 +71,20 @@
(add-hook 'package-menu-mode-hook 'hl-line-mode)
-(setq backup-directory-alist `((".*" . ,(oni:data-location "backup-files/"))))
+(setq backup-directory-alist
+ `((".*" . ,(oni:data-location "backup-files/"))))
(add-to-list 'auto-save-file-name-transforms
`(".*" ,(oni:data-location "auto-save-files/") t) :append)
-(setq auto-save-list-file-prefix (oni:data-location "auto-save-list/.saves-"))
+(setq auto-save-list-file-prefix
+ (oni:data-location "auto-save-list/.saves-"))
+
+(setq delete-old-versions t)
+(setq kept-new-versions 20)
+(setq kept-old-versions 20)
+(setq vc-make-backup-files t)
+(setq version-control t)
(global-set-key (kbd "C-M-SPC") 'er/expand-region)
(global-set-key (kbd "M-+") 'mc/mark-next-like-this)