commit d34a22f6891960dd217c28c121452816414eb987
parent a8f112d1b6a509ffa3896330a5122c92dfffad6a
Author: Alex Balgavy <alex@balgavy.eu>
Date: Wed, 19 Jan 2022 16:43:22 +0100
emacs: hide tab bar if only one tab
After installing emacs-head, tab bar actually works woo
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -481,6 +481,12 @@ I want to hide certain modes from the modeline, they're always on:
(mapc (lambda (mode-name) (diminish mode-name)) modes-to-hide))
(diminish 'view-mode " 👓"))
#+end_src
+*** Tab bar
+Only show tab bar if there's more than 1 tab:
+
+#+begin_src emacs-lisp
+ (setq tab-bar-show 1)
+#+end_src
** Buffer displaying