From 3e86757022de07a918ec65bddeee7f27642b7a89 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 28 Jan 2021 08:12:26 -0600 Subject: Change tab bar mode settings --- config.org | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/config.org b/config.org index 242ba86..9048d6b 100644 --- a/config.org +++ b/config.org @@ -340,19 +340,23 @@ I like a vertical bar, but only in the selected window. ** Tabs -*** Tab names +*** Tab bar mode settings #+begin_src emacs-lisp :noweb-ref settings - (setq-default tab-bar-tab-name-function + (setq-default tab-bar-show 1 ; show the tab bar when more than 1 tab + tab-bar-new-tab-choice "*scratch*" + tab-bar-tab-name-function #'tab-bar-tab-name-current-with-count) #+end_src -*** When to show the tab bar +*** Tab bar history -Only when there's more than one tab. +#+begin_src emacs-lisp :noweb-ref modes + (tab-bar-history-mode +1) +#+end_src #+begin_src emacs-lisp :noweb-ref settings - (setq-default tab-bar-show 1) + (setq-default tab-bar-history-limit 25) #+end_src ** Fonts -- cgit 1.4.1-21-gabe81