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

feat: create & open file/folder from prompt if results empty #117

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

fdschmidt93
Copy link
Member

@fdschmidt93 fdschmidt93 commented Mar 25, 2022

Closes #114

cc @danielnehrig this also might be something you were looking for
cc @ZhiyuanLck I guess from some perspective this addresses what you were considering in #104

This PR enables creating a file or folder in file browser mode on select default (i.e. Enter) whenever a prompt does not yield a result (i.e. results are empty). For the time being, this is the new default behavior, as 99% of cases users shouldn't be hitting enter randomly on empty results.

If anyone ever complains, feel free to provide a PR with possibility to opt out :) I just wanted to have fun with a quick & cool feature. Enabling opting out is the not so fun part 😅

Showcase

fb_new_file.mp4

@fdschmidt93 fdschmidt93 merged commit c6f5104 into master Mar 25, 2022
@fdschmidt93 fdschmidt93 deleted the feat/create-enter branch March 25, 2022 09:12
@fdschmidt93 fdschmidt93 mentioned this pull request Mar 25, 2022
@danielnehrig
Copy link

thanks!

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

Successfully merging this pull request may close these issues.

Create new file when file dont exists
2 participants