move map! to the :init section of the package definition
This commit is contained in:
parent
ab144f89c2
commit
440f2cffaa
1 changed files with 12 additions and 12 deletions
|
@ -2,9 +2,9 @@
|
|||
;;;###if (featurep! +hugo)
|
||||
|
||||
(use-package! ox-hugo
|
||||
:after ox)
|
||||
|
||||
(map! :map org-mode-map
|
||||
:after ox
|
||||
:init
|
||||
(map! :map org-mode-map
|
||||
:localleader
|
||||
(:prefix "e"
|
||||
(:prefix ("H" . "hugo")
|
||||
|
@ -13,6 +13,6 @@
|
|||
: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)))
|
||||
:desc "File to a temporary Md buffer" "t" #'org-hugo-export-as-md))))
|
||||
|
||||
;;; +hugo.el ends here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue