diff options
Diffstat (limited to '')
-rw-r--r-- | emacs.d/config/config-env.el | 11 | ||||
-rw-r--r-- | emacs.d/modules/module-project.el | 7 |
2 files changed, 16 insertions, 2 deletions
diff --git a/emacs.d/config/config-env.el b/emacs.d/config/config-env.el index c945e0b..328914e 100644 --- a/emacs.d/config/config-env.el +++ b/emacs.d/config/config-env.el @@ -27,4 +27,15 @@ (defvar fcuny-path-emacs-elpa (expand-file-name "elpa" fcuny-path-emacs-var) "Path to elpa's local files.") +(defvar fcuny-projects-ignored-dirs + '(".git" ".svn" "target" + "elpa")) + +(defvar fcuny-projects-ignored-files + '(".DS_Store" + "*.pyc" + "*.jar" + "*.zip" "*.tar.gz" "*.tgz" "*.gz" + "TAGS")) + (provide 'config-env) diff --git a/emacs.d/modules/module-project.el b/emacs.d/modules/module-project.el index bc0bdf9..cb11e0d 100644 --- a/emacs.d/modules/module-project.el +++ b/emacs.d/modules/module-project.el @@ -56,8 +56,11 @@ _s-f_: file _a_: ag _i_: Ibuffer _c_: cache projectile-enable-caching t projectile-completion-system 'ivy projectile-known-projects-file (expand-file-name "var/projectile-bookmarks.eld" user-emacs-directory) - projectile-cache-file (expand-file-name "var/projectile.cache" user-emacs-directory)) - (add-to-list 'projectile-globally-ignored-files ".DS_Store")) + projectile-cache-file (expand-file-name "var/projectile.cache" user-emacs-directory) + projectile-globally-ignored-directories (append fcuny-projects-ignored-dirs + projectile-globally-ignored-directories) + projectile-globally-ignored-files (append fcuny-projects-ignored-files + projectile-globally-ignored-files))) (use-package ag :commands (counsel-ag ag) |