Skip to content

[Feature] Target list of folders?Β #557

@tmpm697

Description

@tmpm697

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions