weirongxu / coc-explorer

📁 Explorer for coc.nvim
MIT License
1.15k stars 45 forks source link

Not working with :mksession #297

Open DanielCardonaRojas opened 4 years ago

DanielCardonaRojas commented 4 years ago

When running a :mksession! I get:

Error detected while processing Session.vim
E95: Buffer with this name already exists

The line causing the error in Session.vim

file \[coc-explorer]-1
issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.96. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

weirongxu commented 4 years ago

coc-explorer does not support save to session, you can use set sessionoptions=curdir,folds,help,slash,tabpages,unix to avoid error

amit777 commented 3 years ago

Hi, is session support planned? Thank you for this awesome plugin

weirongxu commented 3 years ago

Hi @amit777. There no plan at the moment, because I'm busy few months. I might consider this feature after the implementation of other priority features.

mikeslattery commented 2 years ago

I found this workaround slightly better, as it respects your other existing options. (btw, vim and neovim have different default options)

set sessionoptions-=blank