diff options
Diffstat (limited to 'config.org')
-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 |