dotfiles/doom/.config/doom/+smudge.el

13 lines
475 B
EmacsLisp

;;; ../../.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
(global-smudge-remote-mode)
(map! :map smudge-mode-map "M-p" #'smudge-command-map))