From 443469aa5eb3273dc3e3676d718f08b0bbc5e641 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 22 Mar 2023 18:08:06 +0200 Subject: emacs: Add keybindings for password-store --- .emacs.d/init.el | 3 +++ emacs.org | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 53821e2..8c539f3 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -625,6 +625,9 @@ you have the correctly set the OPENAI_API_KEY variable" (global-set-key (kbd "") 'keyboard-escape-quit) (global-set-key (kbd "s-=") 'text-scale-increase) (global-set-key (kbd "s--") 'text-scale-decrease) +;; Pass +(global-set-key (kbd "C-c p i") 'password-store-insert) +(global-set-key (kbd "C-c p e") 'password-store-edit) ;; my general's leader key! (defconst general-key "C-c g") diff --git a/emacs.org b/emacs.org index f808927..d0ffebc 100755 --- a/emacs.org +++ b/emacs.org @@ -721,6 +721,9 @@ Hook with ~dired-mode~ (global-set-key (kbd "") 'keyboard-escape-quit) (global-set-key (kbd "s-=") 'text-scale-increase) (global-set-key (kbd "s--") 'text-scale-decrease) + ;; Pass + (global-set-key (kbd "C-c p i") 'password-store-insert) + (global-set-key (kbd "C-c p e") 'password-store-edit) #+end_src *** General #+begin_src emacs-lisp -- cgit v1.2.3