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

Open multiple selected files in Windows #998

Open
smoothdad opened this issue May 20, 2024 · 1 comment
Open

Open multiple selected files in Windows #998

smoothdad opened this issue May 20, 2024 · 1 comment

Comments

@smoothdad
Copy link

I've tried various commands in vifmrc but cannot get Windows to open multiple selected files.

filetype * explorer %"f &

works if one file is selected, but if more than one file is selected, Windows just opens an explorer window.

@smoothdad smoothdad changed the title Open muliple selected files in Windows Open multiple selected files in Windows May 20, 2024
@xaizek xaizek added the windows label May 20, 2024
@xaizek
Copy link
Member

xaizek commented May 20, 2024

I think that's just how explorer or start commands work, they don't handle multiple files.

There is special handling of selection in Vifm described in https://vifm.info/vimdoc.shtml#vifm-selection. However, the documentation is correct in that code really handles %c and %f but it doesn't to the same for %"c/%"f, which is an omission. The behaviour was probably never tested on Windows.

filetype * explorer %c &

does invoke explorer for every file in the selection for me, but it can have escaping issues until %"c" is handled as well.

@xaizek xaizek added the bug label May 20, 2024
@xaizek xaizek added this to the next release milestone May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants