poop
This commit is contained in:
@@ -215,6 +215,15 @@
|
||||
(eww-browse-url link)
|
||||
(message "No link to open."))))
|
||||
|
||||
(defun opal/elfeed-open-in-librewolf ()
|
||||
"Open the current Elfeed entry link in LibreWolf."
|
||||
(interactive)
|
||||
(let ((link (elfeed-entry-link (elfeed-search-selected :single))))
|
||||
(if link
|
||||
(let ((browse-url-generic-program "librewolf"))
|
||||
(browse-url-generic link))
|
||||
(message "No link to open."))))
|
||||
|
||||
(defun opal/elfeed-mark-all-read ()
|
||||
"Marks all feeds in *elfeed-search* as read."
|
||||
(interactive)
|
||||
@@ -244,10 +253,11 @@
|
||||
|
||||
;; Evil keybindings for Elfeed
|
||||
(evil-define-key 'normal elfeed-search-mode-map
|
||||
"e" 'opal/elfeed-open-in-eww ;; Open link in eww
|
||||
"r" 'opal/elfeed-mark-all-read ;; Marks all feeds as read
|
||||
"gr" 'elfeed-update ;; Refresh feeds
|
||||
"q" 'quit-window)) ;; Quit Elfeed
|
||||
"e" 'opal/elfeed-open-in-eww ;; Open link in eww
|
||||
"o" 'opal/elfeed-open-in-librewolf ;; Open link in eww
|
||||
"r" 'opal/elfeed-mark-all-read ;; Marks all feeds as read
|
||||
"gr" 'elfeed-update ;; Refresh feeds
|
||||
"q" 'quit-window)) ;; Quit Elfeed
|
||||
|
||||
(use-package elfeed-org
|
||||
:ensure t
|
||||
|
||||
Reference in New Issue
Block a user