-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79c45e0
commit 0ffeb80
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#+TITLE Pass contribution layer for Spacemacs | ||
|
||
* Table of Contents | ||
- [[#description][Description]] | ||
- [[#key-bindings][Key Bindings]] | ||
|
||
* Description | ||
|
||
This layer adds intregration with [[http://www.passwordstore.org/][pass]], the standard unix password manager. | ||
You must have ~pass~ installed for this layer to function properly. | ||
|
||
* Key Bindings | ||
| Key Bindings | Description | | ||
|--------------+-------------------------------------------------------| | ||
| ~SPC P s y~ | copy password (~password-store-copy~) | | ||
| ~SPC P s g~ | generate new password (~password-store-generate~) | | ||
| ~SPC P s i~ | insert new password (~password-store-insert~) | | ||
| ~SPC P s c~ | edit password (~password-store-edit~) | | ||
| ~SPC P s r~ | rename password (~password-store-rename~) | | ||
| ~SPC P s d~ | remove from password store (~password-store-remove~) | | ||
| ~SPC P s D~ | clear the password store (~password-store-clear~) | | ||
| ~SPC P s I~ | initialize the password store (~password-store-init~) | | ||
| ~SPC P s w~ | open url (~password-store-url~) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
;;; packages.el --- pass Layer packages File for Spacemacs | ||
;; | ||
;; Copyright (c) 2012-2014 Sylvain Benner | ||
;; Copyright (c) 2014-2015 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 '(password-store)) | ||
|
||
(setq pass-excluded-packages '()) | ||
|
||
(defun pass/init-password-store () | ||
(use-package password-store | ||
:defer t | ||
:init | ||
(evil-leader/set-key | ||
"Psy" 'password-store-copy | ||
"Psg" 'password-store-generate | ||
"Psi" 'password-store-insert | ||
"Psc" 'password-store-edit | ||
"Psr" 'password-store-rename | ||
"Psd" 'password-store-remove | ||
"PsD" 'password-store-clear | ||
"PsI" 'password-store-init | ||
"Psw" 'password-store-url))) |