Add bind to open .elfeed/feeds.org source file

This commit is contained in:
Evie Litherland-Smith 2024-02-17 09:28:15 +00:00
parent b7bfff87db
commit e882bc04b0

View file

@ -88,9 +88,20 @@
;; Org directory shortcut ;; Org directory shortcut
(with-eval-after-load 'org (with-eval-after-load 'org
(defun my/open-org-directory () (defun my/open-org-directory ()
"Open base org-mode directory in dired"
(interactive) (interactive)
(find-file org-directory)) (find-file org-directory))
(keymap-global-set "C-c w o" #'my/open-org-directory)) (keymap-global-set "C-c w o" #'my/open-org-directory))
;; Elfeed feeds file shortcut
(with-eval-after-load 'org
(defun my/open-feeds-file ()
"Open org file containing elfeed sources"
(interactive)
(require 'elfeed)
(require 'elfeed-org)
(find-file (expand-file-name "feeds.org" elfeed-base-directory))))
(keymap-global-set "C-c w f" #'my/open-feeds-file)
#+end_src #+end_src
* package-archive with priorities * package-archive with priorities