1
0
Fork 0
mirror of https://gitlab.com/dwt1/dotfiles.git synced 2023-02-13 20:55:19 -05:00

Adding ednc (notifications) to Doom Emacs.

This commit is contained in:
Derek Taylor 2023-01-01 10:31:11 -06:00
parent c7d78274cb
commit e0277a1031
2 changed files with 8 additions and 6 deletions

View file

@ -198,9 +198,10 @@ List of keybindings (SPC h b b)")
(add-hook 'ednc-notification-presentation-functions
#'show-notification-in-buffer)
(evil-define-key 'normal ednc-view-mode-map "d" 'ednc-dismiss-notification)
(evil-define-key 'normal ednc-view-mode-map (kbd "RET") 'ednc-invoke-action)
(evil-define-key 'normal ednc-view-mode-map (kbd "TAB") 'ednc-toggle-expanded-view)
(evil-define-key 'normal ednc-view-mode-map
(kbd "d") 'ednc-dismiss-notification
(kbd "RET") 'ednc-invoke-action
(kbd "e") 'ednc-toggle-expanded-view)
(use-package! elfeed-goodies)
(elfeed-goodies/setup)

View file

@ -435,9 +435,10 @@ The Emacs Desktop Notification Center (EDNC) is an Emacs package written in pure
(add-hook 'ednc-notification-presentation-functions
#'show-notification-in-buffer)
(evil-define-key 'normal ednc-view-mode-map "d" 'ednc-dismiss-notification)
(evil-define-key 'normal ednc-view-mode-map (kbd "RET") 'ednc-invoke-action)
(evil-define-key 'normal ednc-view-mode-map (kbd "TAB") 'ednc-toggle-expanded-view)
(evil-define-key 'normal ednc-view-mode-map
(kbd "d") 'ednc-dismiss-notification
(kbd "RET") 'ednc-invoke-action
(kbd "e") 'ednc-toggle-expanded-view)
#+end_src