Compare commits

..

2 Commits

Author SHA1 Message Date
Jeremy Dormitzer
87fb1cbfe8 Fix org-super-agenda jira category 2021-02-24 19:53:35 -05:00
Jeremy Dormitzer
a395515fae Set up org-roam 2021-02-24 19:53:27 -05:00

View File

@ -61,7 +61,7 @@
:tag "@unifydb") :tag "@unifydb")
(:name "Personal" (:name "Personal"
:tag "@personal") :tag "@personal")
(:name "Jira" :file-path )))) (:name "Jira" :file-path ,(expand-file-name "~/org/jira")))))
(use-package org-gcal (use-package org-gcal
:commands (org-gcal-sync :commands (org-gcal-sync
@ -104,4 +104,25 @@
("Won't Fix" . "CANCELLED"))) ("Won't Fix" . "CANCELLED")))
(add-to-list 'org-agenda-files org-jira-working-dir)) (add-to-list 'org-agenda-files org-jira-working-dir))
;; org-roam provides backlinks between org documents
(use-package org-roam
:hook (org-mode . org-roam-mode)
:custom
(org-roam-directory "~/org")
:bind (:map org-roam-mode-map
(("C-c n l" . org-roam)
("C-c n f" . org-roam-find-file)
("C-c n g" . org-roam-graph))
:map org-mode-map
(("C-c n i" . org-roam-insert))
(("C-c n I" . org-roam-insert-immediate)))
:general
(leader-map "of" #'org-roam-find-file)
:config
(general-def org-roam-mode-map "C-c n" '(nil :which-key "org-roam"))
(general-def org-mode-map "C-c n" '(nil :which-key "org-roam"))
(general-def 'normal org-roam-backlinks-mode-map
"RET" #'org-open-at-point
"q" #'bury-buffer))
(provide 'init-org) (provide 'init-org)