Archived
1
0
Fork 0

major tuning to workspace for utility and to reduce frustration points -- mainly auto opening the text scratch buffer, having just the agenda window alongside and keeping detail files behind the agenda fully

This commit is contained in:
KemoNine 2023-04-25 10:28:37 -04:00
parent 30b35fac9b
commit 40afda5db8

View file

@ -97,20 +97,18 @@
(delete-other-windows) (delete-other-windows)
(kmn/kill-other-buffers) (kmn/kill-other-buffers)
(ignore-errors (kill-buffer "*scratch*")) (ignore-errors (kill-buffer "*scratch*"))
; front load org-agenda so it doesnt reshuffle the frame layout on us ; show varied org files so their buffers exist prior to jumping in from org-agenda
(org-agenda nil "r")
(split-window-below)
(next-multiframe-window)
; show slipbox
(find-file "~/org/_slipbox.org")
; split window for additional file to show
(split-window-below)
(next-multiframe-window)
(find-file "~/org/_habits.org") (find-file "~/org/_habits.org")
(find-file "~/org/_index.org") (find-file "~/org/_index.org")
(find-file "~/org/_todo.org") (find-file "~/org/_todo.org")
; switch to top of agenda window so most useful window is focused (find-file "~/org/_slipbox.org")
(next-multiframe-window) ; front load org-agenda so it doesnt reshuffle the frame layout on us
(org-agenda nil "r")
; show scratch on right
(kmn/scratch-text-on-right)
; delete the current window (agenda triggers a vertical split on my computer, this undoes that non desired outcome)
(delete-window)
; switch to top of agenda window where i prefer to start my reading
(goto-char 0) (goto-char 0)
) )
) )