From af3881fdfd45caea6da478ef56082d0c107f4a85 Mon Sep 17 00:00:00 2001 From: tslil clingman <> Date: Tue, 9 Aug 2022 08:16:16 +0200 Subject: work inits --- emacs/work_inits/15-project-mgmt.el | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 emacs/work_inits/15-project-mgmt.el (limited to 'emacs/work_inits/15-project-mgmt.el') 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") -- cgit v1.2.3