Merge branch 'master' of gitlab.com:chriscochrun/dotemacs

This commit is contained in:
Chris Cochrun 2021-05-02 17:22:03 -05:00
commit 2a3f17c90e
2 changed files with 59 additions and 0 deletions

View file

@ -31,6 +31,8 @@
- [[#elfeed][Elfeed]] - [[#elfeed][Elfeed]]
- [[#bongo][Bongo]] - [[#bongo][Bongo]]
- [[#transmission][Transmission]] - [[#transmission][Transmission]]
- [[#pass][Pass]]
- [[#matrix][Matrix]]
- [[#performance][Performance]] - [[#performance][Performance]]
- [[#logging][Logging]] - [[#logging][Logging]]
- [[#early-init][Early Init]] - [[#early-init][Early Init]]
@ -332,6 +334,7 @@ This evil-collection package includes a lot of other evil based things.
"o" '(:ignore t :which-key "open") "o" '(:ignore t :which-key "open")
"h" '(:ignore t :which-key "help") "h" '(:ignore t :which-key "help")
"n" '(:ignore t :which-key "notes") "n" '(:ignore t :which-key "notes")
"sp" '(:ignore t :which-key "passwords")
"bs" '(consult-buffer :which-key "buffer search") "bs" '(consult-buffer :which-key "buffer search")
"bd" '(kill-this-buffer :which-key "kill buffer") "bd" '(kill-this-buffer :which-key "kill buffer")
"bi" '(ibuffer :which-key "ibuffer") "bi" '(ibuffer :which-key "ibuffer")
@ -1825,6 +1828,42 @@ I use transmission on a server to manage my torrents
"ot" 'transmission)) "ot" 'transmission))
#+end_src #+end_src
** Pass
I like to keep my passwords in password-store for a very unixy way of doing things.
#+begin_src emacs-lisp
(use-package auth-source-pass
:defer 1
:config (auth-source-pass-enable))
#+end_src
#+begin_src emacs-lisp
(use-package pass
:defer 1)
#+end_src
#+begin_src emacs-lisp
(use-package password-store
:after pass
:general
(chris/leader-keys
"sp" 'password-store-copy))
#+end_src
#+begin_src emacs-lisp
(use-package password-store-otp
:after password-store
:general
(chris/leader-keys
"st" 'password-store-otp-token-copy))
#+end_src
** Matrix
Matrix.el is a decent enough matrix client built in emacs. Like it.
#+begin_src emacs-lisp :tangle no
(use-package matrix-client
:straight (matrix-client :type git :host github :repo "alphapapa/matrix-client.el"))
#+end_src
** Performance ** Performance
Here we have a bunch of performance tweaks Here we have a bunch of performance tweaks
#+begin_src emacs-lisp #+begin_src emacs-lisp

20
init.el
View file

@ -208,6 +208,7 @@
"o" '(:ignore t :which-key "open") "o" '(:ignore t :which-key "open")
"h" '(:ignore t :which-key "help") "h" '(:ignore t :which-key "help")
"n" '(:ignore t :which-key "notes") "n" '(:ignore t :which-key "notes")
"sp" '(:ignore t :which-key "passwords")
"bs" '(consult-buffer :which-key "buffer search") "bs" '(consult-buffer :which-key "buffer search")
"bd" '(kill-this-buffer :which-key "kill buffer") "bd" '(kill-this-buffer :which-key "kill buffer")
"bi" '(ibuffer :which-key "ibuffer") "bi" '(ibuffer :which-key "ibuffer")
@ -1383,6 +1384,25 @@ interfere with the default `bongo-playlist-buffer'."
:keymaps 'override :keymaps 'override
"ot" 'transmission)) "ot" 'transmission))
(use-package auth-source-pass
:defer 1
:config (auth-source-pass-enable))
(use-package pass
:defer 1)
(use-package password-store
:after pass
:general
(chris/leader-keys
"sp" 'password-store-copy))
(use-package password-store-otp
:after password-store
:general
(chris/leader-keys
"st" 'password-store-otp-token-copy))
;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions ;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions
;; in non-focused windows. ;; in non-focused windows.
(setq-default cursor-in-non-selected-windows nil) (setq-default cursor-in-non-selected-windows nil)