mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Exclude images and remote files from recentf
This commit is contained in:
@ -106,7 +106,8 @@ fundamental-mode) for performance sake."
|
|||||||
recentf-max-saved-items 300
|
recentf-max-saved-items 300
|
||||||
recentf-filename-handlers '(file-truename)
|
recentf-filename-handlers '(file-truename)
|
||||||
recentf-exclude
|
recentf-exclude
|
||||||
(list "^/tmp/" "^/ssh:" "\\.?ido\\.last$" "\\.revive$" "/TAGS$"
|
(list #'file-remote-p "\\.\\(gz\\|gif\\|svg\\|png\\|jpe?g\\)$"
|
||||||
|
"^/tmp/" "^/ssh:" "\\.?ido\\.last$" "\\.revive$" "/TAGS$"
|
||||||
"^/var/folders/.+$"
|
"^/var/folders/.+$"
|
||||||
;; ignore private DOOM temp files (but not all of them)
|
;; ignore private DOOM temp files (but not all of them)
|
||||||
(concat "^" (file-truename doom-local-dir)))))
|
(concat "^" (file-truename doom-local-dir)))))
|
||||||
|
Reference in New Issue
Block a user