[Tab Bar Helpers] Also open journal in agenda tab, spliting windows

This commit is contained in:
Marcel Kapfer 2022-06-23 16:50:28 +02:00
parent e639f2e03f
commit 66185f96b0
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
1 changed files with 5 additions and 1 deletions

View File

@ -48,7 +48,11 @@
(mmk2410/tab-bar-switch-or-create
"Agenda"
#'(lambda ()
(org-agenda nil "a"))))
(org-agenda nil "c")
(sit-for 1)
(split-window-horizontally)
(other-window 1)
(org-journal-open-current-journal-file))))
(defun mmk2410/tab-bar-run-journal ()
(interactive)