mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
wg: hide neotree when saving session
This commit is contained in:
@ -66,7 +66,10 @@ automatically renamed to the project name.")
|
|||||||
(advice-add 'wg-change-modeline :override 'ignore)
|
(advice-add 'wg-change-modeline :override 'ignore)
|
||||||
|
|
||||||
;; Don't remember popup windows
|
;; Don't remember popup windows
|
||||||
(add-hook! kill-emacs 'narf-popup-close-all)
|
(add-hook! kill-emacs
|
||||||
|
(narf/popup-close-all)
|
||||||
|
(when (and (featurep 'neotree) (neo-global--window-exists-p))
|
||||||
|
(neotree-hide)))
|
||||||
|
|
||||||
;; This helps abstract some of the underlying functions away, just in case I want to
|
;; This helps abstract some of the underlying functions away, just in case I want to
|
||||||
;; switch to a different package in the future, like persp-mode, eyebrowse or wconf.
|
;; switch to a different package in the future, like persp-mode, eyebrowse or wconf.
|
||||||
|
Reference in New Issue
Block a user