parent
07e57aa0b8
commit
f28a304abd
6 changed files with 51 additions and 1 deletions
|
@ -67,6 +67,7 @@ https://www.mfoot.com/blog/2015/11/22/literate-emacs-configuration-with-org-mode
|
|||
+ =+pomodoro= Enables a pomodoro timer for clocking time on tasks.
|
||||
+ =+present= Enables integration with reveal.js, beamer and org-tree-slide, so
|
||||
Emacs can be used for presentations.
|
||||
+ =+roam= Enables org-roam integration.
|
||||
|
||||
** Plugins
|
||||
+ [[https://github.com/hniksic/emacs-htmlize][htmlize]]
|
||||
|
|
|
@ -936,6 +936,7 @@ compelling reason, so..."
|
|||
(if (featurep! +jupyter) (load! "contrib/jupyter"))
|
||||
(if (featurep! +pomodoro) (load! "contrib/pomodoro"))
|
||||
(if (featurep! +present) (load! "contrib/present"))
|
||||
(if (featurep! +roam) (load! "contrib/roam"))
|
||||
|
||||
;; In case the user has eagerly loaded org from their configs
|
||||
(when (and (featurep 'org)
|
||||
|
|
36
modules/lang/org/contrib/roam.el
Normal file
36
modules/lang/org/contrib/roam.el
Normal file
|
@ -0,0 +1,36 @@
|
|||
;;; lang/org/contrib/roam.el -*- lexical-binding: t; -*-
|
||||
;;;###if (featurep! +roam)
|
||||
|
||||
(use-package! org-roam
|
||||
:commands (org-roam
|
||||
org-roam-insert
|
||||
org-roam-find-file
|
||||
org-roam-switch-to-buffer
|
||||
org-roam-show-graph)
|
||||
:init
|
||||
(map! :after org
|
||||
:map org-mode-map
|
||||
:localleader
|
||||
:prefix ("m" . "org-roam")
|
||||
"m" #'org-roam
|
||||
"i" #'org-roam-insert
|
||||
"b" #'org-roam-switch-to-buffer
|
||||
"f" #'org-roam-find-file
|
||||
"g" #'org-roam-show-graph
|
||||
"i" #'org-roam-insert)
|
||||
:config
|
||||
(setq org-roam-directory org-directory)
|
||||
(org-roam-mode +1))
|
||||
|
||||
|
||||
;; Since the org module lazy loads org-protocol (waits until an org URL is
|
||||
;; detected), we can safely chain `org-roam-protocol' to it.
|
||||
(use-package! org-roam-protocol
|
||||
:after org-protocol)
|
||||
|
||||
|
||||
(use-package company-org-roam
|
||||
:when (featurep! :completion company)
|
||||
:after org-roam
|
||||
:config
|
||||
(set-company-backend! 'org-mode '(company-org-roam company-yasnippet company-dabbrev)))
|
|
@ -73,6 +73,10 @@
|
|||
(package! ox-reveal :pin "ea8b502170"))
|
||||
(when (featurep! +journal)
|
||||
(package! org-journal :pin "664c08e12c"))
|
||||
(when (featurep! +roam)
|
||||
(package! org-roam :pin "b86d2c8637")
|
||||
(when (featurep! :completion company)
|
||||
(package! company-org-roam :pin "0d14bf56f5")))
|
||||
|
||||
;;; Babel
|
||||
(package! ob-async :pin "80a30b96a0")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue