2025-12-20 15:13:13 +11:00
|
|
|
;; -*- lexical-binding: t; -*-
|
|
|
|
|
|
2025-12-21 12:57:53 +11:00
|
|
|
|
2026-02-05 21:48:27 +11:00
|
|
|
(use-package project)
|
2026-01-30 03:52:15 +11:00
|
|
|
|
2026-02-05 21:48:27 +11:00
|
|
|
(use-package tabspaces
|
|
|
|
|
:functions tabspaces-mode
|
2026-02-08 20:12:13 +11:00
|
|
|
:commands (tabspaces-switch-or-create-workspace
|
|
|
|
|
tabspaces-open-or-create-project-and-workspace)
|
2026-02-05 21:48:27 +11:00
|
|
|
:hook (elpaca-after-init . tabspaces-mode)
|
2026-02-08 20:12:13 +11:00
|
|
|
:bind (:map tabspaces-mode-map
|
|
|
|
|
([remap project-switch-project] . tabspaces-open-or-create-project-and-workspace))
|
2025-12-21 14:53:44 +11:00
|
|
|
:custom
|
2026-02-05 21:48:27 +11:00
|
|
|
(tab-bar-show nil)
|
2025-12-20 15:13:13 +11:00
|
|
|
|
2026-02-05 21:48:27 +11:00
|
|
|
(tabspaces-use-filtered-buffers-as-default t)
|
|
|
|
|
(tabspaces-default-tab "Default")
|
|
|
|
|
(tabspaces-remove-to-default t)
|
|
|
|
|
(tabspaces-include-buffers '("*scratch*" "*Messages*"))
|
|
|
|
|
(tabspaces-exclude-buffers '("*eat*" "*vterm*" "*shell*" "*eshell*"))
|
|
|
|
|
;; sessions
|
|
|
|
|
(tabspaces-session t)
|
|
|
|
|
(tabspaces-session-auto-restore t)
|
2026-02-08 20:12:13 +11:00
|
|
|
(tabspaces-keymap-prefix "C-c o")
|
|
|
|
|
(tab-bar-new-tab-choice "default"))
|
|
|
|
|
|
2025-12-20 15:13:13 +11:00
|
|
|
(provide 'init-workspace)
|