summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config/init-file.el17
-rw-r--r--config/init-rg.el19
2 files changed, 16 insertions, 20 deletions
diff --git a/config/init-file.el b/config/init-file.el
index f8dadb1..d0e6da3 100644
--- a/config/init-file.el
+++ b/config/init-file.el
@@ -11,20 +11,15 @@
 
 (require 'init-util)
 
-(setq require-final-newline t)
+(use-package files
+  :custom
+  (require-final-newline t)
+  (auto-save-default nil)
+  (auto-save-list-file-prefix nil)
+  (backup-inhibited t))
 
 (setq bookmark-default-file (user-data "bookmarks"))
 
-;; Disable backup.
-(setq backup-inhibited t)
-
-;; Disable auto save.
-(setq auto-save-default nil)
-(setq auto-save-list-file-prefix nil)
-
-;; Really, no backups
-(setq make-backup-files nil)
-
 (use-package recentf
   :custom
   (recentf-max-saved-items 2000)
diff --git a/config/init-rg.el b/config/init-rg.el
index df7cdfe..8700fb2 100644
--- a/config/init-rg.el
+++ b/config/init-rg.el
@@ -9,15 +9,16 @@
 
 (use-package rg
   :ensure t
-  :custom ((rg-group-result t)
-           (rg-show-columns t)
-           (rg-align-line-number-field-length 3)
-           (rg-align-column-number-field-length 3)
-           (rg-align-line-column-separator "#")
-           (rg-align-position-content-separator "|")
-           (rg-hide-command nil)
-           (rg-align-position-numbers t)
-           (rg-command-line-flags '("--follow"))))
+  :custom
+  (rg-group-result t)
+  (rg-show-columns t)
+  (rg-align-line-number-field-length 3)
+  (rg-align-column-number-field-length 3)
+  (rg-align-line-column-separator "#")
+  (rg-align-position-content-separator "|")
+  (rg-hide-command nil)
+  (rg-align-position-numbers t)
+  (rg-command-line-flags '("--follow")))
 
 (provide 'init-rg)