Sometimes I use dired to navigate in the home folder. If in that moment I press projectile-find-file, emacs will freeze and will take about 15 seconds to be ready to use projectile with the home folder. How can I tell projectile not to search in the home folder, even if I accidentally call projectile-find-file when I am in?

  • does setting projectile-ignored-projects to include "~/" work? – rajashekar Sep 9 '17 at 19:32
  • I have tried with (setq projectile-ingnored-projects "~/") and with (setq projectile-ignored-projects "macbook") (macbook is the name of my user and in emacs I see that the current projectile project is names "macbook"), but no luck – Nisba Sep 10 '17 at 15:12
  • Try (setq projectile-ignored-projects '("path-to-home-dir")). If that doesn't work look at a few suggestions in emacs.stackexchange.com/questions/16497/…. – rajashekar Sep 11 '17 at 16:10

See a detailed solution in my blog article: https://oracleyue.github.io/post/fix-issues-projectile/

If you like to quickly see how to exclude files/folder from your projectile-find-file, a short version here: https://emacs.stackexchange.com/a/63744/9262

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.