Add doom/help-news-search command (SPC h d N)
This commit is contained in:
parent
8aa6273dcf
commit
243a3a84a8
2 changed files with 11 additions and 0 deletions
|
@ -189,6 +189,16 @@ selection of all minor-modes, active or not."
|
||||||
"../modules/README.org")
|
"../modules/README.org")
|
||||||
2 t initial-input))
|
2 t initial-input))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
|
(defun doom/help-news-search (&optional initial-input)
|
||||||
|
"Search headlines in Doom's newsletters."
|
||||||
|
(interactive)
|
||||||
|
(doom-completing-read-org-headings
|
||||||
|
"Find in News: " (doom-files-in (expand-file-name "news" doom-docs-dir)
|
||||||
|
:match "/[0-9]"
|
||||||
|
:relative-to doom-docs-dir)
|
||||||
|
nil t initial-input))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom/help-faq (&optional initial-input)
|
(defun doom/help-faq (&optional initial-input)
|
||||||
"Search Doom's FAQ and jump to a question."
|
"Search Doom's FAQ and jump to a question."
|
||||||
|
|
|
@ -224,6 +224,7 @@
|
||||||
"dh" #'doom/help
|
"dh" #'doom/help
|
||||||
"dm" #'doom/help-modules
|
"dm" #'doom/help-modules
|
||||||
"dn" #'doom/help-news
|
"dn" #'doom/help-news
|
||||||
|
"dN" #'doom/help-news-search
|
||||||
"dp" #'doom/help-packages
|
"dp" #'doom/help-packages
|
||||||
"dc" #'doom/help-package-config
|
"dc" #'doom/help-package-config
|
||||||
"ds" #'doom/sandbox
|
"ds" #'doom/sandbox
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue