Reduce file cache timeout from 7 days to 1
Also: - Reorder projectile variables. - Remove unused projectile-sort-order (since ripgrep is a hard dependency of Doom now, there should be no situation where we projectile-sort-order is important to us as a default).
This commit is contained in:
parent
b8d4fef93f
commit
cdf4604288
1 changed files with 3 additions and 5 deletions
|
@ -31,14 +31,12 @@ Emacs.")
|
|||
:init
|
||||
(setq projectile-cache-file (concat doom-cache-dir "projectile.cache")
|
||||
projectile-enable-caching doom-interactive-mode
|
||||
projectile-known-projects-file (concat doom-cache-dir "projectile.projects")
|
||||
projectile-require-project-root t
|
||||
projectile-files-cache-expire 86400 ; expire after a day
|
||||
projectile-globally-ignored-files '(".DS_Store" "Icon
" "TAGS")
|
||||
projectile-globally-ignored-file-suffixes '(".elc" ".pyc" ".o")
|
||||
projectile-ignored-projects '("~/" "/tmp")
|
||||
projectile-kill-buffers-filter 'kill-only-files
|
||||
projectile-files-cache-expire 604800 ; expire after a week
|
||||
projectile-sort-order 'recentf)
|
||||
projectile-known-projects-file (concat doom-cache-dir "projectile.projects")
|
||||
projectile-ignored-projects '("~/" "/tmp"))
|
||||
|
||||
(global-set-key [remap evil-jump-to-tag] #'projectile-find-tag)
|
||||
(global-set-key [remap find-tag] #'projectile-find-tag)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue