[Emacs] Add keybind to toggle tab-bar-mode, hide new tab button
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lucien Cartier-Tilet 2023-01-08 21:16:38 +01:00
parent a509efdecd
commit 2134e947fd
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -3697,9 +3697,12 @@ Lets 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
@ -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 |