1.1 KiB
1.1 KiB
projectile
Projectile is an emacs Package that can be used to manage project files. The package is installed as follows:
(use-package projectile
:ensure t
init
(projectile-mode +1)
:bind (:map projectile-mode-map
("C-c p" . projectile-command-map)))
(setq projectile-project-search-path '("~/Latex/latex-repo/"))
(setq projectile-indexing-method 'native)
However, the data tree is very cluttered, so folders and files in the .projectile file can be excluded from the index. This is done with the command: -<folder> (without<>) or -*.<end>. This refers to the relative root path starting from this file. The file path from the projectile-project-search-path has to be found with the command
projectile-discover-projects-in-search-path.