Exclude images and remote files from recentf
This commit is contained in:
parent
aec4fbe590
commit
1352ac4553
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ fundamental-mode) for performance sake."
|
|||
recentf-max-saved-items 300
|
||||
recentf-filename-handlers '(file-truename)
|
||||
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/.+$"
|
||||
;; ignore private DOOM temp files (but not all of them)
|
||||
(concat "^" (file-truename doom-local-dir)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue