BIBLIOGRAPHY

Schwartz, Robin. (2023a) 2024. “Hrs/Docsim.” https://github.com/hrs/docsim.

———. (2023b) 2024. “Hrs/Docsim.El an Emacs Tool for Searching and Comparing Notes.” https://github.com/hrs/docsim.el.

History

#디노트, #시맨틱검색

hrs/docsim

(Schwartz [2023a] 2024)

  • Schwartz, Robin
  • A simple, fast command-line tool for searching and comparing text documents.
go install github.com/hrs/docsim@latest

hrs/docsim.el An Emacs tool for searching and comparing notes.

(Schwartz [2023b] 2024)

  • Schwartz, Robin
  • An Emacs tool for searching and comparing notes.

Searching notes

I wrote docsim.el to provide richer search functionality in my notes. I’m biased, but I think it works pretty well.

Calling docsim-search-buffer opens a buffer of links to nodes that are (1) textually similar to this note, and (2) not yet linked from it.

  (use-package docsim
    :ensure t
    :ensure-system-package ((go . golang)
                            (docsim . "go install github.org/hrs/docsim/docsim@latest"))
 
    :commands (docsim-search docsim-search-buffer)
    :bind (("C-c n s" . docsim-search)
           ("C-c n d" . docsim-search-buffer))
 
    :custom
    (docsim-search-paths `(,denote-directory
                           "~/documents/journal/entries"
                           "~/documents/logistics"
                           "~/documents/blog/_drafts"
                           "~/documents/blog/_posts"))
    (docsim-omit-denote-links t)
 
    :init
    (evil-define-key '(insert normal) docsim-mode-map (kbd "RET") 'docsim--visit-link)
    (evil-define-key '(insert normal) docsim-mode-map (kbd "q") 'docsim--quit-sidebuffer))

관련노트