From 2134e947fd8c172cb858b7b6d39df3dd07b63e90 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 8 Jan 2023 21:16:38 +0100 Subject: [PATCH] [Emacs] Add keybind to toggle tab-bar-mode, hide new tab button --- org/config/emacs.org | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index a39f67a..e6e498b 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -3697,9 +3697,12 @@ Let’s define some more intuitive keybinds for ~info-mode~. :straight (:type built-in) :custom (tab-bar-close-button-show nil) + (tab-bar-new-button-show nil) (tab-bar-new-tab-choice "*dashboard*") :custom-face - (tab-bar ((t (:background "#272C36" :foreground "#272C36" :box (:line-width (10 . 3) :style flat-button))))) + (tab-bar ((t (:background "#272C36" + :foreground "#E5E9F0" + :box (:line-width (8 . 5) :style flat-button))))) :init (advice-add #'tab-new :after @@ -8376,7 +8379,7 @@ Undefining some stuff to make keybind prefixes work correctly. <> - <> + <> <> @@ -8613,6 +8616,7 @@ My toggle keybinds are prefixed by ~t~. | Key | Function | Description | |-----+---------------------------------------+--------------| | | | toggles | +| TAB | tab-bar-mode | | | t | my/modify-frame-alpha-background/body | | | T | counsel-load-theme | | | d | | debug |