add way to pop new frame and main org-mode landing page pre opened w/ a scratch buffer

This commit is contained in:
KemoNine 2023-08-08 16:27:01 -04:00
parent b260a7c997
commit ea7d9387e7
1 changed files with 17 additions and 0 deletions

View File

@ -139,6 +139,23 @@
)
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; org-mode workspace for general kb work that doesnt use the agenda
(when (not kmn/is-dayjob)
(defun kmn/workspace-org-index ()
(interactive)
(kmn/possibly-create-frame)
; start with fresh frame
(delete-other-windows)
; setup scratch on right
(kmn/scratch-text-on-right)
(goto-char 0)
; Open main files used as 'gateway' to everything else
(find-file "~/org/_index.org")
(goto-char 0)
)
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; empty code workspace
(defun kmn/workspace-code-empty (&optional dir_path)