coc-explorer icon indicating copy to clipboard operation
coc-explorer copied to clipboard

Not working with :mksession

Open DanielCardonaRojas opened this issue 3 years ago • 5 comments

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

DanielCardonaRojas avatar Oct 27 '20 14:10 DanielCardonaRojas

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.

issue-label-bot[bot] avatar Oct 27 '20 14:10 issue-label-bot[bot]

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

weirongxu avatar Oct 28 '20 17:10 weirongxu

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

amit777 avatar Mar 30 '21 23:03 amit777

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.

weirongxu avatar Mar 31 '21 16:03 weirongxu

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

set sessionoptions-=blank

mikeslattery avatar Jun 16 '22 15:06 mikeslattery