summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-07-28 17:03:05 +0000
committernoa@gaiwan.org2024-07-28 17:03:05 +0000
commit7fd0d996ea50a49a7a2faf8e2b3123bca5b92b79 (patch)
treebe84208acb8541e389082ca3d2d3ae9dcc58263c
parentea28243804b2538e9218e2520cf49603f64c0a12 (diff)
Make it easier to take a note
-rw-r--r--config.org5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.org b/config.org
index 0bac4b7..0873c9e 100644
--- a/config.org
+++ b/config.org
@@ -660,6 +660,11 @@ This doesn't work with code blocks at the moment.
 
 #+begin_src elisp
   (global-set-key (kbd "C-c c") #'org-capture)
+  (global-set-key (kbd "<menu>") #'noa/org-capture)
+  (defun noa/org-capture ()
+    "Capture a simple note without the dispatcher."
+    (interactive)
+    (org-capture nil "j"))
   (defun noa/org-agenda ()
     "Directly open the agenda with todo list."
     (interactive)