diff options
author | Case Duckworth | 2020-12-01 22:58:13 -0600 |
---|---|---|
committer | Case Duckworth | 2020-12-01 22:58:13 -0600 |
commit | cb9f3b26a30c249ca368e812c17eabbaebd81c32 (patch) | |
tree | 4dfb04ada06281eb27fd15417e52d24bc735c77c | |
parent | Change org-mode bullet look (diff) | |
download | emacs-cb9f3b26a30c249ca368e812c17eabbaebd81c32.tar.gz emacs-cb9f3b26a30c249ca368e812c17eabbaebd81c32.zip |
Only show tabs when there's > 1
-rw-r--r-- | config.org | 12 |
1 files changed, 12 insertions, 0 deletions
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 | |||
378 | (horizontal-scroll-bar-mode -1) | 378 | (horizontal-scroll-bar-mode -1) |
379 | #+end_src | 379 | #+end_src |
380 | 380 | ||
381 | ** Tabs | ||
382 | |||
383 | I'm kind of getting into Emacs tabs -- but I like not showing the =tab-bar= when there's only one. | ||
384 | |||
385 | #+begin_src emacs-lisp | ||
386 | (cuss tab-bar-show 1) | ||
387 | |||
388 | (cuss tab-bar-tab-name-function 'tab-bar-tab-name-current-with-count) | ||
389 | |||
390 | (tab-bar-mode 1) | ||
391 | #+end_src | ||
392 | |||
381 | ** Word wrap and operate visually | 393 | ** Word wrap and operate visually |
382 | 394 | ||
383 | =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. | 395 | =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. |