blob: 5ee91e5a5870d4ccd928c1aedd5781f592056225 (
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
25
26
27
|
;; Time-stamp: <2020-07-29 20:29:40 (user@hobbies)>
(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-completion-system 'default
projectile-mode-line-prefix ""
;; projectile-mode-line-function '(lambda ()
;; (format " ¶[%s]"
;; (projectile-project-name)))
project-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")
|