-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Folder Browser Create File in selected folder #78
Comments
This would be easy to implement. If we don't mimic it, the Won't this feature really only be saving people one press of the enter key? Is that really worth tinkering with how files are created right now? 🤷♂️ |
From the user perspective, what would change is the default path shown, which I think is a non-intrusive change. Hence, I don't think we need to mirror behavior between file and folder browser here too closely. At the same time, Therefore, I'd say we should be practical and factor in this good suggestion. |
very dope seeing this implemented now i can get rid of my makeshift version of this |
could we implement a option which would open the newly created file in a buffer after creating ? @fdschmidt93 |
I'd be happy to, but a clean solution is quite a lot more complicated than you'd think. What I would want to default to is putting the selection to the created file if possible (you eg can technically create file in Now, unfortunately that requires a lot of Why's that a problem? Well, I'd want to support your use case with eg ["<A-c>"] = fb_actions.create + actions.select_vertical as per upstream telescope, since I then don't have to make any assumptions how files are supposedly selected (or not) and it's the most maintainable. The problem now is that that It's probably easier/cleaner to circumvent |
Fair enough, I can see that |
Describe the solution you'd like
When entering the Folder Browser i'd like be able with the c button to create a file inside the fuzzy found folder.
Right now i'd have to enter the folder and create the file from the file browser
Describe alternatives you've considered
none :(
The text was updated successfully, but these errors were encountered: