diff options
author | noa@gaiwan.org | 2024-07-03 11:08:13 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-07-03 11:08:13 +0000 |
commit | 5770f2b00ca3a7949aab18e4d8652265138799c6 (patch) | |
tree | 4fb18e379896c2f4b7f0ac8dac0bd65dac7d9c1d | |
parent | 69c17edd39511002b0651b47801ccffa3c93a7d8 (diff) |
Update agenda bindings
-rw-r--r-- | config.org | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/config.org b/config.org index 5901aea..a0cd4d2 100644 --- a/config.org +++ b/config.org @@ -637,6 +637,15 @@ The default agenda time grid has thick lines which i don't think add anything to (setopt org-support-shift-select 'always) #+end_src +Show calendar agenda and todos in the same buffer + +#+begin_src elisp + (setopt org-agenda-custom-commands + '(("n" "Todo list and agenda" + ((alltodo "") + (agenda ""))))) +#+end_src + #+begin_src elisp ;; Make org html export more pleasant by default (setopt org-export-with-smart-quotes t) @@ -663,13 +672,17 @@ This doesn't work with code blocks at the moment. #+end_src #+begin_src elisp -(global-set-key (kbd "C-c c") #'org-capture) -(global-set-key (kbd "C-c a") #'org-agenda) -(global-set-key (kbd "C-c l") #'org-store-link) + (global-set-key (kbd "C-c c") #'org-capture) + (defun noa/org-agenda () + "Directly open the agenda with todo list." + (interactive) + (org-agenda nil "n")) + (global-set-key (kbd "C-c a") #'noa/org-agenda) + (global-set-key (kbd "C-c l") #'org-store-link) #+end_src #+begin_src elisp :tangle no - ;; (package-ensure 'helm-org-ql) + ;; (package-ensure 'org-ql) ;; (package-ensure 'org-super-links) ;; (setopt org-super-links-search-function #'helm-org-ql) #+end_src |