I have a folder that contains multiple projects, like:
cd projects
ls
fder1/ fder2/ fder3/ fder4/
i want to open nvim/vim and start :CocCommand explorer that show only fder1/ and fder3/
is there a way to achieve this with coc-explorer?
I tried nvim fder1/ fder3 -- this command will create two explorer buffers that target each folder fder1/ and fder3/ separately (I have line in vim/nvim config that start explorer when input is a folder: autocmd BufEnter * let d = expand('%') | if isdirectory(d) | silent! bd | exe 'CocCommand explorer ' . d | endif) but not work
i want to able to either start nvim to target multiple folders and then have coc-explorer show exactly those folders or start nvim and then have a way to add folder to coc-explorer tree manually.
I have a folder that contains multiple projects, like:
i want to open nvim/vim and start
:CocCommand explorer
that show only fder1/ and fder3/ is there a way to achieve this with coc-explorer?I tried
nvim fder1/ fder3
-- this command will create two explorer buffers that target each folder fder1/ and fder3/ separately (I have line in vim/nvim config that start explorer when input is a folder:autocmd BufEnter * let d = expand('%') | if isdirectory(d) | silent! bd | exe 'CocCommand explorer ' . d | endif
) but not worki want to able to either start nvim to target multiple folders and then have coc-explorer show exactly those folders or start nvim and then have a way to add folder to coc-explorer tree manually.