-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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: Open file picker by default when the specified path is a directory #51
Comments
I like this idea, but I wonder what the behavior should be if several files/folders are listed, i.e. |
That's also what I currently stumbled upon. I'm wondering how to handle this with what there is available now. |
You should be able to reuse the file picker code here: helix/helix-term/src/commands.rs Lines 1083 to 1085 in 2719a35
You would need to construct it if necessary, and helix/helix-term/src/application.rs Lines 48 to 56 in 2719a35
|
Already got that figured out, I'm wondering what to do with the extra arguments aftrer initial directory path like |
And also what to do when there is more than one directory like:
|
I added initial changes in #59 |
Closed by #59 |
I would like to see the contents of a directory when opening
hx
with a path to directory like:Shows me file picker with the contents of
/tmp
.I would like to give a try at implementing this.
The text was updated successfully, but these errors were encountered: