Revert "Remove projectile"

This reverts commit 98f811eeff.
This commit is contained in:
Andreas Zweili 2022-12-31 11:17:45 +01:00
parent 5c7be2abea
commit 65bbd28d8c
4 changed files with 14 additions and 2 deletions

View File

@ -83,6 +83,7 @@
epkgs.pkg-info
epkgs.posframe
epkgs.powershell
epkgs.projectile
epkgs.python-mode
epkgs.queue
epkgs.rainbow-delimiters

View File

@ -24,5 +24,3 @@
(active-minibuffer-window)) (error "Minibuffer is not active")))
(bind-key "M-m" 'switch-to-minibuffer)
(global-set-key (kbd "C-c g") 'project-find-file)

View File

@ -0,0 +1,12 @@
(use-package projectile
:init
(projectile-mode +1)
:config
(setq projectile-project-search-path '(("~/.nixos" . 1)
"~/git_repos/projects/"
"~/git_repos/work/")
projectile-completion-system 'ivy
projectile-switch-project-action #'projectile-dired)
(global-set-key (kbd "C-c g") 'projectile-find-file)
:bind (:map projectile-mode-map
("C-x p" . projectile-command-map)))

View File

@ -32,6 +32,7 @@
(load-file (modules-path "magit.el"))
(load-file (modules-path "languageserver.el"))
(load-file (modules-path "powershell.el"))
(load-file (modules-path "projectile.el"))
(load-file (modules-path "python.el"))
(load-file (modules-path "webmode.el"))
(load-file (modules-path "yaml.el"))