Fix org config

This commit is contained in:
Jeremy Dormitzer 2021-10-14 11:57:31 -04:00
parent b541e076e0
commit 12f97985a9

View File

@ -1,7 +1,8 @@
;; The all-powerful Org mode
(use-package org
:straight org-plus-contrib
:straight '(org-plus-contrib :type git
:repo "https://git.sr.ht/~bzg/org-contrib")
:mode (("\\.org\\'" . org-mode))
:init
(leader-def-key "o" '(nil :which-key "org"))
@ -131,7 +132,8 @@
"I" #'org-roam-node-insert-immediate)
(with-eval-after-load 'org
(general-def org-mode-map "C-c n" org-roam-commands-map)
(which-key-declare-prefixes-for-mode 'org-mode "C-c n" "org-roam"))
;; (which-key-declare-prefixes-for-mode 'org-mode "C-c n" "org-roam")
)
:general
(leader-map "of" #'org-roam-node-find)
:config