diff options
author | noa | 2024-11-11 12:06:21 +0800 |
---|---|---|
committer | noa | 2024-11-11 12:06:21 +0800 |
commit | 9bd1e2f5423bea34aead65911a3d88175a290319 (patch) | |
tree | 9b73b8e6720e509ab4fff03145ee4af68ea2c596 | |
parent | 7a8141c5166227cdbf24ea9cbd207e335be37523 (diff) |
Add function to view ctrlj agenda using external program
-rw-r--r-- | emacs/init.el | 5 |
1 files changed, 5 insertions, 0 deletions
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 |