Skip to main content

Baty.net

A blog about everything by Jack Baty 👋

Tag: Howm

Emacs Howm package for notes

howm is an Emacs package for taking notes. It was recommended to me recently, so I thought I’d take a look. The project page says “howm: Write fragmentarily and read collectively.” Worth a shot, right?

I haven’t seen too many people talking about howm. The best introductions I’ve found are from Leah Neukirchen and Andrei Sukhovskii.

I installed it via use-package with the following

;; howm package config

(use-package howm :ensure t
  :config
  (setq howm-directory "~/Documents/howm/")
  (setq howm-home-directory "~/Documents/howm/")
  (setq howm-keyword-file (expand-file-name ".howm-keys" howm-home-directory))
  (setq howm-history-file (expand-file-name ".howm-history" howm-home-directory))
  (setq howm-view-use-grep t))
;;  (setq howm-view-grep-command "/opt/homebrew/bin/rg"))

;; Fix for help bindings
(define-key howm-menu-mode-map "\C-h" nil)
(define-key riffle-summary-mode-map "\C-h" nil)
(define-key howm-view-contents-mode-map "\C-h" nil)

;; Sensible buffer names
(add-hook 'howm-mode-hook 'howm-mode-set-buffer-name)
(add-hook 'after-save-hook 'howm-mode-set-buffer-name)

I couldn’t get the rg settings to work, so I’m still using grep. It’s fast enough for this test.