diff options
author | Case Duckworth | 2021-01-28 08:12:26 -0600 |
---|---|---|
committer | Case Duckworth | 2021-01-28 08:12:26 -0600 |
commit | 3e86757022de07a918ec65bddeee7f27642b7a89 (patch) | |
tree | a6fa91f6d2b24d5ec3ac9cfc73a424f7863d4c8d | |
parent | Fancify Windows batch files (diff) | |
download | emacs-3e86757022de07a918ec65bddeee7f27642b7a89.tar.gz emacs-3e86757022de07a918ec65bddeee7f27642b7a89.zip |
Change tab bar mode settings
-rw-r--r-- | config.org | 14 |
1 files 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. | |||
340 | 340 | ||
341 | ** Tabs | 341 | ** Tabs |
342 | 342 | ||
343 | *** Tab names | 343 | *** Tab bar mode settings |
344 | 344 | ||
345 | #+begin_src emacs-lisp :noweb-ref settings | 345 | #+begin_src emacs-lisp :noweb-ref settings |
346 | (setq-default tab-bar-tab-name-function | 346 | (setq-default tab-bar-show 1 ; show the tab bar when more than 1 tab |
347 | tab-bar-new-tab-choice "*scratch*" | ||
348 | tab-bar-tab-name-function | ||
347 | #'tab-bar-tab-name-current-with-count) | 349 | #'tab-bar-tab-name-current-with-count) |
348 | #+end_src | 350 | #+end_src |
349 | 351 | ||
350 | *** When to show the tab bar | 352 | *** Tab bar history |
351 | 353 | ||
352 | Only when there's more than one tab. | 354 | #+begin_src emacs-lisp :noweb-ref modes |
355 | (tab-bar-history-mode +1) | ||
356 | #+end_src | ||
353 | 357 | ||
354 | #+begin_src emacs-lisp :noweb-ref settings | 358 | #+begin_src emacs-lisp :noweb-ref settings |
355 | (setq-default tab-bar-show 1) | 359 | (setq-default tab-bar-history-limit 25) |
356 | #+end_src | 360 | #+end_src |
357 | 361 | ||
358 | ** Fonts | 362 | ** Fonts |