[Emacs] Add customization for tab-bar
This commit is contained in:
parent
1ceaaf7f3f
commit
2161f9f3a6
@ -3688,6 +3688,26 @@ Let’s define some more intuitive keybinds for ~info-mode~.
|
|||||||
"u" #'Info-up))
|
"u" #'Info-up))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
*** Tab Bar
|
||||||
|
:PROPERTIES:
|
||||||
|
:CUSTOM_ID: PackagesConfigurationEmacsbuiltinsTabBar-zmfhlpb12pj0
|
||||||
|
:END:
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package tab-bar
|
||||||
|
:defer t
|
||||||
|
:straight (:type built-in)
|
||||||
|
:custom
|
||||||
|
(tab-bar-close-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)))))
|
||||||
|
:init
|
||||||
|
(advice-add #'tab-new
|
||||||
|
:after
|
||||||
|
(lambda (&rest _) (when (y-or-n-p "Rename tab? ")
|
||||||
|
(call-interactively #'tab-rename)))))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
*** Tramp
|
*** Tramp
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: Packages-Configuration-Emacs-built-ins-Tramplqd2fl6184j0
|
:CUSTOM_ID: Packages-Configuration-Emacs-built-ins-Tramplqd2fl6184j0
|
||||||
|
Loading…
Reference in New Issue
Block a user