summaryrefslogtreecommitdiff
path: root/emacs/work_inits/15-project-mgmt.el
diff options
context:
space:
mode:
authortslil clingman <>2022-08-09 08:16:16 +0200
committertslil clingman <>2022-08-09 08:20:27 +0200
commitaf3881fdfd45caea6da478ef56082d0c107f4a85 (patch)
treed1dfe9fb857ad7d3815ecf6aca0ccfcc7729066a /emacs/work_inits/15-project-mgmt.el
parentfb03d2883abcaac4518296280818dc3162b4d400 (diff)
work inits
Diffstat (limited to 'emacs/work_inits/15-project-mgmt.el')
-rw-r--r--emacs/work_inits/15-project-mgmt.el30
1 files changed, 30 insertions, 0 deletions
diff --git a/emacs/work_inits/15-project-mgmt.el b/emacs/work_inits/15-project-mgmt.el
new file mode 100644
index 0000000..a9e5336
--- /dev/null
+++ b/emacs/work_inits/15-project-mgmt.el
@@ -0,0 +1,30 @@
+;; Time-stamp: <2022-05-10 20h39 CDT (radix)>
+
+(use-package projectile
+ :ensure t
+ :bind (("C-c p" . projectile-switch-project)
+ ("C-c f" . projectile-find-file-dwim))
+ :config
+ (projectile-mode 1)
+
+ ;; (defadvice projectile-project-root (around ignore-remote first activate)
+ ;; (unless (file-remote-p default-directory) ad-do-it))
+
+ (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)))
+ ;; projectile-mode-line-function '(lambda () " ¶")
+ ))
+
+(use-package magit
+ :ensure t
+ :bind (("C-x g" . magit-status))
+ :config
+ (setq magit-process-find-password-functions '(magit-process-password-auth-source)))
+
+(setenv "SSH_AUTH_SOCK" "/home/user/.SSH_AGENT_vault-keys")