From 9bd1e2f5423bea34aead65911a3d88175a290319 Mon Sep 17 00:00:00 2001 From: noa Date: Mon, 11 Nov 2024 12:06:21 +0800 Subject: Add function to view ctrlj agenda using external program --- emacs/init.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'emacs/init.el') diff --git a/emacs/init.el b/emacs/init.el index 5cbd521..f2061de 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -822,6 +822,11 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." (consult-ripgrep "~/Documents/Notes")) (global-set-key (kbd "C-j C-s") #'noa/consult-rg-notes) +(defun noa/agenda () + "List agenda." + (interactive) + (async-shell-command "~/.config/Scripts/agenda" "*agenda*")) + ;; so i can search for synonyms without using the internet (use-package wordnut :ensure t -- cgit 1.4.1-2-gfad0