Update ivy/counsel ignore-file/directory rules
This commit is contained in:
parent
a66a85800b
commit
b77212b78f
4 changed files with 10 additions and 4 deletions
|
@ -32,7 +32,9 @@
|
|||
(ivy-wgrep-change-to-wgrep-mode)))
|
||||
|
||||
(advice-add 'counsel-ag-function :override 'doom*counsel-ag-function)
|
||||
(define-key counsel-ag-map [backtab] 'ivy-occur))
|
||||
(define-key counsel-ag-map [backtab] 'ivy-occur)
|
||||
|
||||
(setq counsel-find-file-ignore-regexp "\\(?:^[#.]\\)\\|\\(?:[#~]$\\)\\|\\(?:^Icon?\\)"))
|
||||
|
||||
(use-package counsel-projectile :after projectile)
|
||||
|
||||
|
|
|
@ -109,10 +109,13 @@
|
|||
(apply orig-fun args)))
|
||||
(advice-add 'projectile-cache-current-file :around 'doom*projectile-cache-current-file)
|
||||
|
||||
(push doom-temp-dir projectile-globally-ignored-directories)
|
||||
(push "assets" projectile-globally-ignored-directories)
|
||||
(push ".cask" projectile-globally-ignored-directories)
|
||||
(push ".sync" projectile-globally-ignored-directories)
|
||||
(push ".elc" projectile-globally-ignored-file-suffixes)
|
||||
(push doom-temp-dir projectile-globally-ignored-directories)
|
||||
(push ".project" projectile-globally-ignored-file-suffixes)
|
||||
(push "Icon
" projectile-globally-ignored-files)
|
||||
|
||||
(projectile-global-mode +1))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue