Compare commits

..

No commits in common. "0e0918cfaf7199830578a6c0e0dcf016ba85c6de" and "9b5de3bd4e7b190cb515fb5e0381fb80dfeb19a1" have entirely different histories.

3 changed files with 2 additions and 35 deletions

View File

@ -1,27 +0,0 @@
;; Get a nice interface to pass
(use-package pass
:commands pass
:init
(leader-def-key "P" '(nil :which-key "passwords"))
:config
(evil-collection-pass-setup)
(defun password-store-synchronize ()
(interactive)
(with-editor-async-shell-command "pass git pull && pass git push"))
:general
(leader-map "Pp" #'pass)
(normal pass-mode-map "S" #'password-store-synchronize))
(use-package password-store
:init
(epa-file-enable)
:general
(leader-map "Pg" #'password-store-copy)
:custom
(password-store-password-length 20))
;; Use pass as an auth source
(require 'auth-source-pass)
(auth-source-pass-enable)
(provide 'init-auth)

View File

@ -1,11 +1,10 @@
;; Magit!
(use-package magit
:init
(leader-def-key "g" '(nil :which-key "git"))
:config
(evil-collection-magit-setup)
:general
(leader-map "gs" #'magit-status
(leader-map "g" '(nil :which-key "git")
"gs" #'magit-status
"gg" #'magit-file-dispatch
"gd" #'magit-dispatch))
@ -30,8 +29,4 @@
"gc" #'git-link-commit
"gb" #'git-link-browse-commit))
;; Interact with GitHub etc. from Magit
(use-package forge
:after magit)
(provide 'init-git)

View File

@ -27,7 +27,6 @@
(require 'init-defaults)
(require 'init-evil)
(require 'init-keybindings)
(require 'init-auth)
(require 'init-dashboard)
(require 'init-dotfiles)
(require 'init-buffers)