define a custom keybinding in emacs
Posted on Fri 28 July 2023 in tech
Emacs global-set-key
This video demonstrates how to set a custom global keybinding in Emacs to open the org agenda folder.
(setq org-agenda-folder (quote "~/org"))
(defun open-agenda-folder () (interactive) (dired org-agenda-folder))
(global-set-key "\C-cr" (quote open-agenda-folder))