2017-05-19 03:00:49 +00:00
|
|
|
;;; packages.el --- Passwords Layer packages File for Spacemacs
|
|
|
|
;;
|
2018-01-04 07:00:25 +00:00
|
|
|
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
|
2017-05-19 03:00:49 +00:00
|
|
|
;;
|
|
|
|
;; Author: Andrew Oppenlander <andrew.oppenlander@gmail.com>
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
2015-10-13 02:29:55 +00:00
|
|
|
|
2018-03-27 01:55:51 +00:00
|
|
|
(setq pass-packages
|
|
|
|
'(
|
2018-09-08 14:34:46 +00:00
|
|
|
(ivy-pass :requires ivy)
|
2018-03-27 01:55:51 +00:00
|
|
|
(helm-pass :requires helm)
|
|
|
|
password-store
|
|
|
|
))
|
|
|
|
|
|
|
|
(defun pass/init-helm-pass ()
|
2018-09-08 14:34:46 +00:00
|
|
|
(use-package helm-pass
|
|
|
|
:defer t
|
|
|
|
:init
|
|
|
|
(evil-leader/set-key
|
|
|
|
"Ap/" 'helm-pass)))
|
|
|
|
|
|
|
|
(defun pass/init-ivy-pass ()
|
|
|
|
(use-package ivy-pass
|
|
|
|
:defer t
|
|
|
|
:init
|
|
|
|
(evil-leader/set-key
|
|
|
|
"Ap/" 'ivy-pass)))
|
2015-10-13 02:29:55 +00:00
|
|
|
|
|
|
|
(defun pass/init-password-store ()
|
|
|
|
(use-package password-store
|
2018-03-04 04:37:53 +00:00
|
|
|
:defer t
|
2015-10-13 02:29:55 +00:00
|
|
|
:init
|
|
|
|
(progn
|
2017-05-19 03:00:49 +00:00
|
|
|
(spacemacs/declare-prefix "Ap" "pass")
|
|
|
|
(evil-leader/set-key
|
|
|
|
"Apy" 'password-store-copy
|
|
|
|
"Apg" 'password-store-generate
|
|
|
|
"Api" 'password-store-insert
|
|
|
|
"Apc" 'password-store-edit
|
|
|
|
"Apr" 'password-store-rename
|
|
|
|
"Apd" 'password-store-remove
|
|
|
|
"ApD" 'password-store-clear
|
|
|
|
"ApI" 'password-store-init
|
|
|
|
"Apw" 'password-store-url
|
|
|
|
"Ap?" 'spacemacs/pass-describe
|
|
|
|
"ApY" 'spacemacs/pass-copy-and-describe))))
|