Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Target list of folders? #557

Open
tmpm697 opened this issue Jan 5, 2023 · 1 comment
Open

[Feature] Target list of folders? #557

tmpm697 opened this issue Jan 5, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@tmpm697
Copy link

tmpm697 commented Jan 5, 2023

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.

@tmpm697 tmpm697 added the enhancement New feature or request label Jan 5, 2023
@weirongxu
Copy link
Owner

It is not supported yet, we may need coc-explorer to support multi-directory first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants