From 40afda5db801a1384b52279288dd56a4a461bbb9 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Tue, 25 Apr 2023 10:28:37 -0400 Subject: [PATCH] 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 --- common/workspaces.el | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/common/workspaces.el b/common/workspaces.el index 6b361cc..e700053 100644 --- a/common/workspaces.el +++ b/common/workspaces.el @@ -97,20 +97,18 @@ (delete-other-windows) (kmn/kill-other-buffers) (ignore-errors (kill-buffer "*scratch*")) - ; front load org-agenda so it doesnt reshuffle the frame layout on us - (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) + ; show varied org files so their buffers exist prior to jumping in from org-agenda (find-file "~/org/_habits.org") (find-file "~/org/_index.org") (find-file "~/org/_todo.org") - ; switch to top of agenda window so most useful window is focused - (next-multiframe-window) + (find-file "~/org/_slipbox.org") + ; 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) ) )