home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 83ae217f2f78027fae9f369bb68d8459d06175c7
parent e9ad022bb56a7f084a4a12872c6f669c0e064c72
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 20 Nov 2023 17:06:22 +0100

tools/emacs: add a "jump to notes in dired" binding

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-org.el | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/tools/emacs/config/config-org.el b/tools/emacs/config/config-org.el @@ -163,10 +163,15 @@ `("w" "Writing")) :bind (("C-c o c" . org-capture))) +(defun vde/dired-notes () + "Open a dired buffer with all my notes" + (interactive) + (find-dired org-directory "-type f -not -path '*/archive/*'")) + ;; Using denote as the "source" of my second brain *in* org-mode. (use-package denote - :after org - :bind (("C-c n n" . denote) + :bind (("C-c n n" . vde/dired-notes) + ("C-c n N" . denote) ("C-c n c" . denote-region) ("C-c n N" . denote-type) ("C-c n d" . denote-date)