summaryrefslogtreecommitdiff
path: root/emacs/inits/15-project-mgmt.el
blob: 421e1a3b4aa7e2c3275eee54c4f159aaae003e1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
;; Time-stamp: <2022-09-02 08h55 CEST (anchor)>

(use-package projectile
  :ensure t
  :bind (("C-c p" . projectile-switch-project)
         ("C-c f" . projectile-find-file-dwim))
  :config
  (projectile-mode 1)

  (setq projectile-indexing-method 'alien
    projectile-sort-order 'recently-active
    projectile-enable-caching t
    projectile-require-root t
    projectile-completion-system 'default
    projectile-mode-line-prefix ""
    projectile-mode-line-function '(lambda ()
                                     (format " ¶[%s]" (projectile-project-name)))
    ))

(use-package magit
  :ensure t
  :bind (("C-x g" . magit-status))
  :config
  (setq magit-process-find-password-functions '(magit-process-password-auth-source)))