diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/init-file.el | 20 | ||||
-rw-r--r-- | config/init-ui.el | 25 |
2 files changed, 28 insertions, 17 deletions
diff --git a/config/init-file.el b/config/init-file.el index 9443372..f8dadb1 100644 --- a/config/init-file.el +++ b/config/init-file.el @@ -25,14 +25,18 @@ ;; Really, no backups (setq make-backup-files nil) -(require 'recentf) -(recentf-mode 1) - -(setq recentf-auto-cleanup 60) -(setq recentf-exclude - '("~\\'" "\\`out\\'" "\\.log\\'" "^/[^/]*:" "\\.el\\.gz\\'" "\\.gz\\'")) -(setq recentf-max-saved-items 2000) -(setq recentf-save-file (user-data "recentf")) +(use-package recentf + :custom + (recentf-max-saved-items 2000) + (recentf-max-menu-items 200) + (recentf-exclude + '("~\\'" "\\`out\\'" "\\.log\\'" "^/[^/]*:" "\\.el\\.gz\\'" "\\.gz\\'")) + (recentf-save-file (user-data "recentf")) + (recentf-auto-cleanup 60) + :config + (recentf-mode t) + (run-at-time nil 60 'recentf-save-list) + :diminish nil) (use-package autorevert :custom diff --git a/config/init-ui.el b/config/init-ui.el index 2bc37b4..526b446 100644 --- a/config/init-ui.el +++ b/config/init-ui.el @@ -24,15 +24,22 @@ (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) -(show-paren-mode 1) -(setq show-paren-delay 0) -(setq show-paren-highlight-openparen t) -(setq show-paren-when-point-inside-paren t) -(setq show-paren-when-point-in-periphery t) - -(require 'fringe) -;; no fringe on the right side -(set-fringe-mode '(8 . 0)) +(use-package paren + :init + (show-paren-mode 2) + :custom-face + :custom + (show-paren-delay 0.2) + (show-paren-highlight-openparen t) + (show-paren-when-point-inside-paren t) + (show-paren-when-point-in-periphery t) + (show-paren-style 'parenthesis)) + +(use-package fringe + :demand t + :config + ;; no fringe on the right side + (fringe-mode '(8 . 0))) ;; Disable bidirectional text support for slight performance bonus. (setq bidi-display-reordering nil) |