From b51720f84469037e809b4c6014a54913ee811bf0 Mon Sep 17 00:00:00 2001 From: sterni Date: Thu, 16 Jan 2025 17:26:55 +0100 Subject: [PATCH] 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 Autosubmit: sterni --- users/sterni/emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el index 5eddf8af8..2e0312235 100644 --- a/users/sterni/emacs/init.el +++ b/users/sterni/emacs/init.el @@ -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 "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)