From cb9f3b26a30c249ca368e812c17eabbaebd81c32 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 1 Dec 2020 22:58:13 -0600 Subject: Only show tabs when there's > 1 --- config.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config.org b/config.org index 6042d6f..c3d9cf8 100644 --- a/config.org +++ b/config.org @@ -378,6 +378,18 @@ The [[*Frame defaults][Frame Defaults]] section sets up the frame to be free of (horizontal-scroll-bar-mode -1) #+end_src +** Tabs + +I'm kind of getting into Emacs tabs -- but I like not showing the =tab-bar= when there's only one. + +#+begin_src emacs-lisp + (cuss tab-bar-show 1) + + (cuss tab-bar-tab-name-function 'tab-bar-tab-name-current-with-count) + + (tab-bar-mode 1) +#+end_src + ** Word wrap and operate visually =global-visual-line-mode= is one of those which, in my opinion, should be a default. There's only one place I don't want to wrap words, and that's in =dired=, which I can set individually in its config. -- cgit 1.4.1-21-gabe81