Add bind to open .elfeed/feeds.org source file
This commit is contained in:
parent
b7bfff87db
commit
e882bc04b0
|
@ -88,9 +88,20 @@
|
|||
;; Org directory shortcut
|
||||
(with-eval-after-load 'org
|
||||
(defun my/open-org-directory ()
|
||||
"Open base org-mode directory in dired"
|
||||
(interactive)
|
||||
(find-file 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
|
||||
|
||||
* package-archive with priorities
|
||||
|
|
Loading…
Reference in a new issue