mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add doom/help-news-search command (SPC h d N)
This commit is contained in:
@ -189,6 +189,16 @@ selection of all minor-modes, active or not."
|
||||
"../modules/README.org")
|
||||
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
|
||||
(defun doom/help-faq (&optional initial-input)
|
||||
"Search Doom's FAQ and jump to a question."
|
||||
|
@ -224,6 +224,7 @@
|
||||
"dh" #'doom/help
|
||||
"dm" #'doom/help-modules
|
||||
"dn" #'doom/help-news
|
||||
"dN" #'doom/help-news-search
|
||||
"dp" #'doom/help-packages
|
||||
"dc" #'doom/help-package-config
|
||||
"ds" #'doom/sandbox
|
||||
|
Reference in New Issue
Block a user