chadtree
chadtree copied to clipboard
ChadTree buffer does not reopen on session source
If I open chadtree and expand some nodes and open a few files. Then I call :mksession it saves the session. If I close vim and reopen and run :source Session.vim it loads the files I had open and a [No Name buffer where chadtree was. If I reopen chadtree, it resumes where I left it, but it doesn't repopulate the pane where it was.
Thanks for making a cool NERDTree alternative. When I saw session support I was like whoa!
Maybe I'm doing something wrong. I have python 3.8 and
health#mkdp#check
========================================================================
- INFO: Platform: linux
- INFO: Nvim Version: NVIM v0.4.3
- INFO: Pre build: /home/avraham/.config/nvim/plugged/markdown-preview.nvim/app/bin/markdown-preview-linux
- INFO: Pre build version: 0.0.9
- OK: Using pre build
...
## Python 3 provider (optional)
- INFO: Using: g:python3_host_prog = "/usr/bin/python3.8"
- INFO: Executable: /usr/bin/python3.8
- INFO: Python version: 3.8.5
- INFO: pynvim version: 0.4.1
- OK: Latest pynvim is installed.
ohhh it uses its own session file, separate from VIM’s session, i can maybe find a way to make them work together,
So I dug into it there is an autocmd SessionLoadPost that would allow me the open chadtree after session restore.
but it would add a cost of loading the python environment which could cost upwards of half a second, which is really expensive.
I can add a flag that allows session restore for session files but only if you want it?
https://github.com/neovim/neovim/issues/5728
they are not fixing the slowness bug until 0.6...
I'm interested in this as well I would accept the slowness. Coming from NERDtree and the session management was something that was annoying there too.
So, do anyone know how to fix that? This problem is quite annoying... :see_no_evil:
sir please do help