From 7e2027a3651a4d5454c246f92c88f5e73d483433 Mon Sep 17 00:00:00 2001 From: noa Date: Mon, 17 Feb 2025 00:02:28 +0800 Subject: Update recent files configuration --- emacs/init.el | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'emacs/init.el') diff --git a/emacs/init.el b/emacs/init.el index bd53137..ee53100 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -372,8 +372,7 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." (use-package recentf :hook (after-init . recentf-mode) :custom - (recentf-max-menu-items 25) - (recentf-save-file "~/.config/emacs/recentf")) + (recentf-max-menu-items 50)) (use-package bookmark :defer t @@ -521,13 +520,18 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." ;; ([remap imenu] . consult-imenu) ;; ([remap info] . consult-info) ([remap repeat-complex-command] . consult-complex-command) - ([remap bookmark-jump] . consult-bookmark)) + ([remap bookmark-jump] . consult-bookmark) + ("C-x C-r" . consult-recent-file)) ;; :custom ;; Use consult for completion at point ;; (completion-in-region-function 'consult-completion-in-region) ) - +(use-package consult-recoll + :bind ("