wg: hide neotree when saving session
This commit is contained in:
parent
dd2ccf407d
commit
2ce9fb9f30
1 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue