39 lines
1.1 KiB
EmacsLisp
39 lines
1.1 KiB
EmacsLisp
;;; packages.el --- Passwords Layer packages File for Spacemacs
|
|
;;
|
|
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
|
|
;;
|
|
;; Author: Andrew Oppenlander <andrew.oppenlander@gmail.com>
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
;;
|
|
;; This file is not part of GNU Emacs.
|
|
;;
|
|
;;; License: GPLv3
|
|
|
|
(setq pass-packages
|
|
'(
|
|
(helm-pass :requires helm)
|
|
password-store
|
|
))
|
|
|
|
(defun pass/init-helm-pass ()
|
|
(use-package helm-pass :defer t))
|
|
|
|
(defun pass/init-password-store ()
|
|
(use-package password-store
|
|
:defer t
|
|
:init
|
|
(progn
|
|
(spacemacs/declare-prefix "Ap" "pass")
|
|
(evil-leader/set-key
|
|
"Ap/" 'helm-pass
|
|
"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))))
|