summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa2025-02-22 04:23:43 +0800
committernoa2025-02-22 04:23:43 +0800
commit75266a05673cedb2689ec5b6f0e97adcfce1d14f (patch)
tree8f644480ffe1b0e6633e7e0f50d79ed1526a62bd
parentad09d8f8baa3d3344d110692f239d6ca2c2ff116 (diff)
Update recentf configuration
-rw-r--r--emacs/init.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 3cbe9c5..ec654ef 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -143,7 +143,6 @@
    ;; ([remap info] . consult-info)
    ([remap repeat-complex-command] . consult-complex-command)
    ([remap bookmark-jump] . consult-bookmark)
-   ("C-x C-r" . consult-recent-file)
    :map comint-mode-map
    ([remap comint-history-isearch-backward-regexp] . consult-history))
   ;; :custom
@@ -495,8 +494,7 @@
 
 (use-package recentf
   :hook (after-init . recentf-mode)
-  :custom
-  (recentf-max-menu-items 50))
+  :bind (("C-x C-r" . recentf)))
 
 ;; Remember my position in files
 (use-package saveplace