Swap neotree to tab project directory automatically
This commit is contained in:
parent
e9e3eb63ab
commit
e2cdbb2959
3 changed files with 12 additions and 105 deletions
4
ui.el
4
ui.el
|
@ -98,7 +98,9 @@
|
|||
(setq tab-bar-close-button-show nil) ;; hide tab close / X button
|
||||
(setq tab-bar-new-tab-choice "*enlight*");; buffer to show in new tabs
|
||||
(setq tab-bar-tab-hints t) ;; show tab numbers
|
||||
(setq tab-bar-format '(tab-bar-format-tabs tab-bar-separator))) ;; elements to include in bar
|
||||
(setq tab-bar-format '(tab-bar-format-tabs tab-bar-separator)) ;; elements to include in bar
|
||||
(defvar tab-bar-select-tab-hook nil "Hook for `tab-bar-select-tab'")
|
||||
(advice-add 'tab-bar-select-tab :after (lambda (x) (run-hooks 'tab-bar-select-tab-hook))))
|
||||
|
||||
;; Hideshow
|
||||
(add-hook 'prog-mode-hook #'hs-minor-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue