We discuss the packages installed in the second of three files that
make up my emacs config.
Since recording, I pulled in some EXWM (the Emacs X Window Manager,
that's right), even though I'm not actually using it, I'm still using
stumpWM.
I have also added pass, the password manager, khardel, an emacs
package for the khard CLI address book application.
I also moved (server-start) to this file, so that it'll only happen
when I'm on linux.
;;; init-extra.el --- Extra init stuff
;;; Commentary:
;;; Stuff just for my personal laptop, not for my work laptop or termux, for example.
;;; Code:
;;;;;;;;;;;;;;;;
;;; org-roam ;;;
;;;;;;;;;;;;;;;;
(use-package org-roam
:demand t
:straight (:host github :repo "org-roam/org-roam"
:files (:defaults "extensions/*"))
:custom (org-roam-mode-sections (list #'org-roam-backlinks-section
#'org-roam-reflinks-section
#'org-roam-unlinked-references-section))
:init (setq org-roam-directory "~/org/roam/"
org-roam-capture-templates
'(("o" "outline" plain
"%?"
:if-new
(file+head "${slug}.org" "#+title: ${title}n#+filetags: :outline:n")
:immediate-finish t
:unnarrowed t)
("r" "reference" plain "%?"
:if-new
(file+head "${slug}.org" "#+title: ${title}n")
:immediate-finish t
:unnarrowed t)
("m" "memo" entry "* ${title}n%?"
:if-new
(file "memos.org")
:immediate-finish t
:unnarrowed t)))
:bind (("C-c n l" . org-roam-buffer-toggle)
("C-c n f" . org-roam-node-find)
("C-c n g" . org-roam-graph)
("C-c n i" . org-roam-node-insert)
("C-c n c" . org-roam-capture)
;; Dailies
("C-c n j" . org-roam-dailies-capture-today))
:config
;; If you're using a vertical completion framework, you might want a more informative completion interface
(setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
(org-roam-db-autosync-mode)
;; If using org-roam-protocol
(require 'org-roam-protocol))
;; citations
(use-package citar
:after org-roam
:custom (org-cite-insert-processor 'citar)
(org-cite-follow-processor 'citar)
(org-cite-activate-processor 'citar)
(citar-bibliography '("~/org/biblio.bib"))
(citar-notes-paths '("~/org/roam"))
(citar-file-note-extensions '("org"))
:hook (LaTeX-mode . citar-capf-setup)
(org-mode . citar-capf-setup)
:bind (("C-c n b" . #'citar-open-notes)
:map org-mode-map :package org
("C-c b" . #'org-cite-insert)))
;; view your org-roam notes on a map
(use-package org-roam-ui
:after org-roam
:custom (org-roam-ui-sync-theme t)
(org-roam-ui-follow t)
(org-roam-ui-update-on-save t)
(org-roam-ui-open-on-start t))
;; archive web pages in org attachments
(use-package org-board
:after org
:custom (org-board-default-browser #'browse-url)
(org-board-property "ROAM_REFS")
:bind (:map org-mode-map
("C-c B a" . org-board-archive)
("C-c B o" . org-board-open)
("C-c B D" . org-board-delete-all)))
;;;;;;;;;;;;;;;
;;; Writing ;;;
;;;;;;;;;;;;;;;
; something like