diff options
author | Franck Cuny <franck@fcuny.net> | 2024-04-17 09:11:23 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-04-17 09:11:23 -0700 |
commit | df712a1d88c675702f5f2272def7e4c6e69b3925 (patch) | |
tree | 8d06253617ec001c4817d59cbc3fdb3fc0e0fb88 | |
parent | configuration related to rust (diff) | |
download | emacs.d-df712a1d88c675702f5f2272def7e4c6e69b3925.tar.gz |
minor configuration tweaks
Change-Id: I7f0d8d0070360245c072cff8daa8760ddc4ea743
Diffstat (limited to '')
-rw-r--r-- | config/init-file.el | 17 | ||||
-rw-r--r-- | config/init-rg.el | 19 |
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) |