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

Create directories in the fuzzy search #668

Open
TeoDev1611 opened this issue Apr 7, 2021 · 9 comments
Open

Create directories in the fuzzy search #668

TeoDev1611 opened this issue Apr 7, 2021 · 9 comments

Comments

@TeoDev1611
Copy link

Is your feature request related to a problem? Please describe.
How create directorys in clap

Describe the solution you'd like
Create a command for add a directory or when i am writing create the directory style the file for example an_example_dir/

Describe alternatives you've considered
Or create a simple command or mapping if exist write in the documentation

@liuchengxu
Copy link
Owner

Which provider are you referring to? Basically, you can add the action support in that provider #662 (comment) or enhance the current behavior.

@romgrk
Copy link
Collaborator

romgrk commented Apr 8, 2021

Filer I think? It's true that it would be convenient to be able to create a directory like this:
Screenshot from 2021-04-07 22-07-09

@liuchengxu
Copy link
Owner

It's technically not hard for filer, but needs to come up with a complete and decent UX. A simple edit is enough for creating a file, but not sure it's also good for creating a directory.

@romgrk
Copy link
Collaborator

romgrk commented Apr 8, 2021

I would think something like create the directory & switch to it (staying in filer) would be interesting.

@TeoDev1611
Copy link
Author

Yes this is the idea, I want make vim-clap my first file explorer

@liuchengxu
Copy link
Owner

Not sure I understand it correctly, you mean switching to the newly created directory? but it's empty, you can only create a new file under that directory.

@TeoDev1611
Copy link
Author

Apologies if you do not understand me English is not my main language.
The idea is to create directories like some file explorers do for example example_dir/and leave it in the same directory and then open the directory. Personally I think that entering the created directory is not necessary

@liuchengxu
Copy link
Owner

liuchengxu commented Apr 8, 2021

No worries, I'm also not a native English speaker :(.

You have to understand that filer is kind of limited at the moment compared to the traditional file explorer like nerdtree, for it can only show the top level of a directory and can't show all the items recursively in tree view. example_dir/ can just be created accordingly, but I'm unsure what to do next.

@TeoDev1611
Copy link
Author

The idea after create the dir can rename the dir and the files move etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants