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:
Henrik Lissner 2019-10-04 12:17:47 -04:00
parent c023cef415
commit 423a38c758
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 5 additions and 6 deletions

View file

@ -4,7 +4,8 @@
(use-package! ox-hugo
:after ox
:preface
(map! :map org-mode-map
(map! :after org
:map org-mode-map
:localleader
(:prefix "e"
(:prefix ("H" . "hugo")
@ -14,5 +15,3 @@
: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))))
;;; +hugo.el ends here