feat(sterni/emacs): search through all org files

It can also be useful to find things I've noted down in my todo lists.

Change-Id: I6f3d7da49bfd4392c70e5b14c21b1d659645867e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13009
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
This commit is contained in:
sterni 2025-01-16 17:26:55 +01:00 committed by clbot
parent 689fee1398
commit b51720f844

View file

@ -357,9 +357,10 @@
;; This is based on (car deft-extensions), but unfortunately the variable is
;; not re-bound in the hook defined by defcustom, so it is always "txt".
(setq deft-default-extension "org")
(setq deft-recursive t)
(evil-define-key 'normal 'global (kbd "<leader>mn") 'deft)
:custom
deft-directory (expand-file-name "~/files/sync/org/notes")
deft-directory (expand-file-name "~/files/sync/org")
deft-extensions '("org" "md" "txt" "tex"))
(unless (server-running-p)