Comments
This commit is contained in:
parent
e2cdbb2959
commit
df29b3c7c8
2 changed files with 2 additions and 2 deletions
2
ui.el
2
ui.el
|
@ -99,7 +99,7 @@
|
|||
(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
|
||||
(defvar tab-bar-select-tab-hook nil "Hook for `tab-bar-select-tab'")
|
||||
(defvar tab-bar-select-tab-hook nil "Hook for `tab-bar-select-tab'") ;; Hook for tab change, since it doesn't exist by default
|
||||
(advice-add 'tab-bar-select-tab :after (lambda (x) (run-hooks 'tab-bar-select-tab-hook))))
|
||||
|
||||
;; Hideshow
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
(whaler :action (lambda (dir)
|
||||
(find-file (get-project-default-file dir))
|
||||
(tab-rename (file-name-nondirectory (string-remove-suffix "/" dir)))
|
||||
(tab-bar-change-tab-group (concat "project: " dir))
|
||||
(tab-bar-change-tab-group (concat "project: " dir)) ;; We use the tab group name to store the project working directory
|
||||
(neotree-dir dir))))
|
||||
|
||||
(defun theurgy-swap-to-tab-project ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue