lang/org: move contrib/+hugo -> contrib/hugo
+ Refill +hugo flag's description in the README + Lazy load ox-hugo localleader keybinds by package, rather than by keymap deferral
This commit is contained in:
parent
c023cef415
commit
423a38c758
3 changed files with 5 additions and 6 deletions
17
modules/lang/org/contrib/hugo.el
Normal file
17
modules/lang/org/contrib/hugo.el
Normal file
|
@ -0,0 +1,17 @@
|
|||
;;; +hugo.el --- ox-hugo support -*- lexical-binding: t; -*-
|
||||
;;;###if (featurep! +hugo)
|
||||
|
||||
(use-package! ox-hugo
|
||||
:after ox
|
||||
:preface
|
||||
(map! :after org
|
||||
:map org-mode-map
|
||||
:localleader
|
||||
(:prefix "e"
|
||||
(:prefix ("H" . "hugo")
|
||||
:desc "Subtree or File to Md to file" "H" #'org-hugo-export-wim-to-md
|
||||
:desc "File to Md file" "h" #'org-hugo-export-to-md
|
||||
:desc "Subtree or File to Md to file & open" "O" (λ! (org-open-file (org-hugo-export-wim-to-md)))
|
||||
:desc "File to Md file & open" "o" (λ! (org-open-file (org-hugo-export-to-md)))
|
||||
:desc "All subtrees (or File) to Md file(s)" "A" (λ! (org-hugo-export-wim-to-md :all-subtrees))
|
||||
:desc "File to a temporary Md buffer" "t" #'org-hugo-export-as-md))))
|
Loading…
Add table
Add a link
Reference in a new issue