Here is the Seam config I use to keep my notes and build this wiki.
Note that the icons I use in my seam-title-formatter
may not display
properly if you don’t have a Nerd Font installed.
(use-package seam
:defer 5
:load-path "~/src/seam/lisp"
:bind-keymap* ("C-z" . seam-prefix-map)
:bind (:map seam-prefix-map
(("C-SPC" . seam-find-note)
("C-k" . seam-delete-note)
("C-l" . seam-insert-link)
("C-s" . seam-search)
("C-t" . seam-set-note-type)
("C-d" . seam-toggle-draft)
("C-z" . org-mark-ring-goto)))
:custom
(seam-completing-read-function #'ivy-completing-read)
(seam-export-alist
'(("~/seam/html/preview" ;localhost
:types ("wiki")
:root-path "/"
:include-drafts t
:no-extension t)
("~/seam/html/live" ;wiki.plexwave.org
:types ("wiki")
:root-path "/"
:no-extension t)))
(seam-export-internal-link-class "internal")
(seam-export-template-file "~/seam/template.html")
(seam-note-directory "~/seam")
(seam-create-as-draft t)
(seam-note-types '(("private" :create-as-draft nil)
"note"
"wiki"
"blog"
("ref" :create-as-draft nil)))
(seam-sort-method 'modified)
(seam-title-formatter
(lambda (title type draft-p)
(let ((icon (cdr (assoc type
'(("private" . "")
("note" . "")
("wiki" . "")
("blog" . "")
("ref" . ""))))))
(if draft-p
(propertize (format "%s (%s)" icon title)
'face 'font-lock-comment-face)
(format "%s %s" icon title))))))
I also add this to my Org config, which helps when browsing notes:
(use-package org
:bind (:map org-mode-map
(("C-M-n" . org-next-link)
("C-M-p" . org-previous-link))))
Incoming
✏ Edited