Reuse inactive session #57
Replies: 2 comments 1 reply
-
Hi @alexluigit P.S. Is there a way to disable header line in Dirvish? |
Beta Was this translation helpful? Give feedback.
-
What do you mean by this?
I can not reproduce this on emacs -q, and I did not add any session reuse logic to
(setq dirvish-header-line-position 'disable) This only work for fullscreen session for now. Maybe I'll let this option take effect for single window session as well. |
Beta Was this translation helpful? Give feedback.
-
After cc0c04f, users should be able to reuse a hidden session (if there is any) by
dired-jump
ordirvish-dwim
whendirvish-keep-alive-on-quit
is set to t. It allows us to keep only one dirvish buffer in the buffer list when there are no visible dirvish sessions (exception:dirvish-side
can still hold one or more sessions if being used).The way that dirvish manages its buffers is documented here.
In short,
dired-kill-when-opening-new-dired-buffer
does.find-file
orquit-window
)Doing so we get best things from both worlds: fully-reused buffers (essential for big/tramp directories) and a clean buffer list.
Feel free to post any thoughts on this or Dirivish's buffer management in general. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions