summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/bd--tabs.el
diff options
context:
space:
mode:
authorbd <bdunahu@colostate.edu>2024-03-31 01:13:13 -0600
committerbd <bdunahu@colostate.edu>2024-03-31 01:13:13 -0600
commitbafaf4a10d282fab68d3e1974f103f28f6f00560 (patch)
tree4f4a47b2e9cea2f14e853f9d991a55a2e194195e /.config/emacs/modules/bd--tabs.el
parente2cf8ec17ea045955fd6970971468c90e6b038a0 (diff)
Move autoremove/desktop configuration, other minor cleanup
Diffstat (limited to '.config/emacs/modules/bd--tabs.el')
-rw-r--r--.config/emacs/modules/bd--tabs.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/.config/emacs/modules/bd--tabs.el b/.config/emacs/modules/bd--tabs.el
index 533ce1a..d1efe5e 100644
--- a/.config/emacs/modules/bd--tabs.el
+++ b/.config/emacs/modules/bd--tabs.el
@@ -1,18 +1,18 @@
;; -*- lexical-binding: t; -*-
-;; turn tabs on, undo/redo mode
+;;;; turn tabs on, undo/redo mode
(setq tab-bar-show 1)
(tab-bar-history-mode)
-;; remove useless gui elements
+;;;; remove useless gui elements
(setopt tab-bar-format
'(tab-bar-format-tabs)
tab-bar-close-button-show nil)
-;; bind tabs to 'Meta' like other applications
+;;;; bind tabs to 'Meta' like other applications
(mapcar (lambda (i)
(keymap-global-set (format "M-%d" i)
(lambda ()
@@ -21,7 +21,7 @@
(number-sequence 0 9))
-;; use project name if it exists
+;;;; use project name if it exists
(defun bd/tab-bar-name-function ()
(let ((project (project-current)))
(if project
@@ -43,5 +43,8 @@
(setq tab-bar-tab-name-function #'bd/tab-bar-name-function)
+;;;; less tabbing; more hacking
+(desktop-save-mode 1)
+
(provide 'bd--tabs)