diff options
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/emacs/init.el b/emacs/init.el index 43df25a..d4cf8b9 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -225,57 +225,6 @@ and when JID is not in `jabber-activity-banned'." ;;(add-hook 'completion-at-point-functions #'cape-line) ) -(use-package org-roam - :ensure t - :after org - :after transient - :custom - (org-roam-directory (expand-file-name "~/data/notes/")) - (org-roam-completion-everywhere t) - ;; If you're using a vertical completion framework, you might want a more informative completion interface - (org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag))) - :bind ( - ("C-c n" . noa/notes-menu) - ) - :config - (org-roam-db-autosync-mode 1) - (require 'org-roam-protocol) - ;; Open the org-roam backlinks buffer in a sidebar on the right. I have it set to take up a quarter of the width, which looks nice on my tiny computer, but if i ever use a bigger display, i'll probably have to set it to some amount of characters instead. - (add-to-list 'display-buffer-alist '( - "^\\*org-roam\\*" - display-buffer-in-side-window - (side . right) - (window-width . 0.25))) - (transient-define-prefix noa/notes-menu () - "Access org-roam functionality." - [("l" "Toggle the backlinks sidebar" org-roam-buffer-toggle :transient nil)] - - ["Creating notes" - ("f" "Open or create a note" org-roam-node-find :transient nil) - ("i" "Insert a new or existing note at point" org-roam-node-insert :transient nil) - ("c" "Org-roam capture" org-roam-capture :transient nil) - ] - - [ - "Interact with the daily journal" - ("j" "Add to the daily journal" org-roam-dailies-capture-today :transient nil) - ("d" "More daily entry commands" noa/dailies-menu :transient nil) - ]) - (transient-define-prefix noa/dailies-menu () - "Interact with daily entries." - [ - ("." "Go to the dailies directory" org-roam-dailies-find-directory :transient nil) - ("b" "Go to the previous daily note" org-roam-dailies-goto-previous-note :transient nil) - ("c" "Go to the daily note for a selected day" org-roam-dailies-goto-date :transient nil) - ("d" "Go to today's daily note" org-roam-dailies-goto-today :transient nil) - ("f" "Go to the next daily note" org-roam-dailies-goto-next-note :transient nil) - ("n" "Add to today's daily note" org-roam-dailies-capture-today :transient nil) - ("t" "Go to tomorrow's daily note" org-roam-dailies-goto-tomorrow :transient nil) - ("v" "Add to the daily note for a selected day" org-roam-dailies-capture-date :transient nil) - ("y" "Go to yesterday's daily note" org-roam-dailies-goto-yesterday :transient nil) - ] - )) - ;; (use-package org-contacts ;; :ensure t ;; :pin gnu |