Disable mode line in dired sidebar
This commit is contained in:
parent
4d8ac2e5b6
commit
887252589f
@ -2412,23 +2412,23 @@ UI-related keybindings:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package centaur-tabs
|
||||
:commands (centaur-tabs-mode
|
||||
centaur-tabs-local-mode
|
||||
centaur-tabs-mode-on-p)
|
||||
centaur-tabs-local-mode
|
||||
centaur-tabs-mode-on-p)
|
||||
:init
|
||||
(setq centaur-tabs-set-icons t
|
||||
centaur-tabs-gray-out-icons 'buffer
|
||||
centaur-tabs-height 30
|
||||
centaur-tabs-set-bar 'under
|
||||
x-underline-at-descent-line t
|
||||
centaur-tabs-set-modified-marker t
|
||||
centaur-tabs-show-navigation-buttons t
|
||||
centaur-tabs-down-tab-text " ☰ "
|
||||
centaur-tabs-backward-tab-text " ◀ "
|
||||
centaur-tabs-forward-tab-text " ▶ "
|
||||
centaur-tabs-close-button "✕"
|
||||
centaur-tabs-modified-marker "⬤"
|
||||
centaur-tabs-cycle-scope 'tabs
|
||||
centaur-tabs-label-fixed-length 20)
|
||||
centaur-tabs-gray-out-icons 'buffer
|
||||
centaur-tabs-height 30
|
||||
centaur-tabs-set-bar 'under
|
||||
x-underline-at-descent-line t
|
||||
centaur-tabs-set-modified-marker t
|
||||
centaur-tabs-show-navigation-buttons t
|
||||
centaur-tabs-down-tab-text " ☰ "
|
||||
centaur-tabs-backward-tab-text " ◀ "
|
||||
centaur-tabs-forward-tab-text " ▶ "
|
||||
centaur-tabs-close-button "✕"
|
||||
centaur-tabs-modified-marker "⬤"
|
||||
centaur-tabs-cycle-scope 'tabs
|
||||
centaur-tabs-label-fixed-length 20)
|
||||
(leader-def-key "uT" #'centaur-tabs-mode)
|
||||
(centaur-tabs-mode)
|
||||
:config
|
||||
@ -2464,7 +2464,8 @@ UI-related keybindings:
|
||||
(advice-add 'centaur-tabs-hide-tab :around
|
||||
(lambda (oldfn buf &rest args)
|
||||
(if (with-current-buffer buf
|
||||
(eq major-mode 'vuiet-mode))
|
||||
(or (eq major-mode 'vuiet-mode)
|
||||
(eq major-mode 'dired-sidebar-mode)))
|
||||
t
|
||||
(apply oldfn buf args))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user