summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa2025-04-29 15:08:11 +0800
committernoa2025-04-29 15:08:11 +0800
commit5e2cff0a43d65431eb30139eaacccb2dfddd29f5 (patch)
treed432658b8e57d559e52d1c00664f0629394c0e95
parentf8579bbebe3ca41bf5bbc7dbd31978febb6e81f9 (diff)
Enable the tab bar
-rw-r--r--emacs/init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 480a89f..d547f91 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -50,6 +50,14 @@
   :config
   (load-theme 'modus-operandi t))
 
+(setopt tab-bar-format '(tab-bar-format-history
+                         tab-bar-format-tabs
+                         tab-bar-separator
+                         tab-bar-format-add-tab
+                         tab-bar-format-align-right
+                         tab-bar-format-global)
+      tab-bar-mode t)
+
 ;; Using a proportional font is the right way to do things, but emacs is very old and comes from a time before the innovation of legibility.  As a result, there are some things that require a monospaced font, so i set one here.
 (custom-set-faces
  '(default ((t (:family "Noto Sans Mono" :height 120))))