From 877e23654c3abe6ac3f7d2fa6e353a30d9982f54 Mon Sep 17 00:00:00 2001 From: BardofSprites <89086143+BardofSprites@users.noreply.github.com> Date: Thu, 28 Nov 2024 17:54:57 -0500 Subject: initial tabs --- init.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 9ba1dee..373a9d8 100644 --- a/init.el +++ b/init.el @@ -112,4 +112,22 @@ making an abbreviation to a function." (load-library "bard-emacs-prog.el") +(defun bard/setup-initial-buffers () + "Set up initial tabs for Org Agenda, EMMS, and todo.org file." + (interactive) + (bard/default-agenda) + (emms) + (find-file "~/Notes/denote/todo.org") + (unless (bound-and-true-p tab-bar-mode) + (tab-bar-mode 1)) + (tab-bar-new-tab) + (switch-to-buffer "*Org Agenda*") + (tab-bar-new-tab) + (switch-to-buffer " *EMMS Playlist*") + (tab-bar-new-tab) + (switch-to-buffer "*scratch*")) + +(bard/setup-initial-buffers) + (provide 'init) +(put 'eshell 'disabled nil) -- cgit v1.2.3