Remove recentf-exclude setting
We don't need to be so judicious about what files are included in the MRU list. If you open a file, any file, it'll be considered a recently opened file.
This commit is contained in:
parent
bc89de4228
commit
f251eb5ba9
2 changed files with 2 additions and 11 deletions
|
@ -199,12 +199,7 @@ possible."
|
|||
(setq recentf-save-file (concat doom-cache-dir "recentf")
|
||||
recentf-auto-cleanup 'never
|
||||
recentf-max-menu-items 0
|
||||
recentf-max-saved-items 200
|
||||
recentf-exclude
|
||||
(list "\\.\\(?:gz\\|gif\\|svg\\|png\\|jpe?g\\)$" "^/tmp/" "^/ssh:"
|
||||
"\\.?ido\\.last$" "\\.revive$" "/TAGS$" "^/var/folders/.+$"
|
||||
;; ignore private DOOM temp files
|
||||
(concat "^" (recentf-apply-filename-handlers doom-local-dir))))
|
||||
recentf-max-saved-items 200)
|
||||
|
||||
(add-hook! '(doom-switch-window-hook write-file-functions)
|
||||
(defun doom--recentf-touch-buffer-h ()
|
||||
|
|
|
@ -376,11 +376,7 @@ Some commands of interest:
|
|||
'error)))
|
||||
|
||||
(after! projectile
|
||||
(add-to-list 'projectile-globally-ignored-directories org-attach-id-dir))
|
||||
|
||||
(after! recentf
|
||||
(add-to-list 'recentf-exclude
|
||||
(lambda (file) (file-in-directory-p file org-attach-id-dir)))))
|
||||
(add-to-list 'projectile-globally-ignored-directories org-attach-id-dir)))
|
||||
|
||||
|
||||
(defun +org-init-centralized-exports-h ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue