doom: Add smudge

main
earnest ma 2022-03-08 11:24:59 -05:00
parent 188c5b781e
commit 3f6886ee58
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
4 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,15 @@
;;; ../../.dotfiles/doom/.config/doom/+smudge.el -*- lexical-binding: t; -*-
(use-package! smudge
;; Do not load and error if credentials are not set
;; if client secret is bound, then client id should be fine as well
;; in $DOOM_DIR/.local.el:
;; (setq smudge-oauth2-client-id ""
;; smudge-oauth2-client-secret "")
:if (boundp 'smudge-oauth2-client-secret)
:config
(setq smudge-transport 'connect)
;; smudge-oauth2-client-id
;; smudge-oauth2-client-secret
(global-smudge-remote-mode)
(map! :map smudge-mode-map "M-p" #'smudge-command-map))

6
doom/.config/doom/.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
.DS_Store
.idea
*.log
tmp/
.local.el

View File

@ -7,6 +7,8 @@
user-mail-address "me@earne.link"
org-directory "~/org/")
(load! ".local" doom-private-dir t)
(load! "+ui")
;; Whenever you reconfigure a package, make sure to wrap your config in an
@ -54,3 +56,4 @@
;; load
(load! "+projects")
(load! "+smudge")

View File

@ -49,3 +49,4 @@
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
;(unpin! t)
(package! ghq :pin "582bd6daa505d04c7cc06d6c82ed8aee0624bfbe")
(package! smudge :pin "9e3488f485b7d7f3c97ebaad34ed552bb0cc228a")