Skip to content
Snippets Groups Projects
Commit 55123180 authored by Liu Miao's avatar Liu Miao
Browse files

fix recentf bug

parent c82a8615
No related branches found
No related tags found
No related merge requests found
File added
......@@ -86,21 +86,22 @@
show-paren-highlight-openparen t
show-paren-when-point-inside-paren t
show-paren-when-point-in-periphery t))
(use-package recentf
:defer 1
:commands (recentf-save-list)
:init
(progn
(add-hook 'find-file-hook (lambda () (unless recentf-mode
(recentf-mode)
(recentf-track-opened-file))))
(setq recentf-save-file user/recentf-save-file
recentf-max-saved-items 1000
recentf-auto-cleanup 'never
recentf-auto-save-timer (run-with-idle-timer 600 t
'recentf-save-list)))
(use-package recentf
:defer 1
:commands (recentf-save-list)
:init
(progn
(add-hook 'find-file-hook (lambda () (unless recentf-mode
(recentf-mode)
(recentf-track-opened-file))))
(setq recentf-save-file user/recentf-save-file
recentf-max-saved-items 1000
recentf-auto-cleanup 'never
recentf-auto-save-timer (run-with-idle-timer 600 t
'recentf-save-list)))
:bind
(("C-c f r" . recentf))
(("C-c f r" . recentf-open-files))
)
(use-package display-line-numbers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment