-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
Output user query (wizard mode) #119
Comments
So this is actually two issues:
Neither are really trivial to implement at this point. I'm going to have to sit on it for a little while (esp because it's my bedtime now :) to think if it's feasible and/or something I'd like peco to implement. So please give me a little time to think about it. |
Don't worry I don't need it right now, I was just sharing the idea, good night from France! |
I slept on it, and here are my initial thoughts: 1. the wizard modeI think, at least at this point in time, this feature will not be implemented. The reasoning is that this essentially requires us to write that much more code for pretty much every new feature we implement, which would slowdown/demotivate us to add new features. You only refer to 2. Negative matchesI'm fine with adding negative matches, as long as there's proper syntax. Things to consider: suppose you used |
It's been 3 weeks. I don't think this is going to be implemented any time soon, and even if it does get implemented, it should be broken down into smaller pieces, so will be closing this for now. If you or anybody else is interested, please open a new issue. |
Let say a developer wants to filter something with peco for a script (e.g. a cron), first he wants to try the command itself (and discover the output data with peco), so he runs:
Peco opens, the dev use the selector to match what he wants (and he can directly see the output in peco, that's what Bret Victor would call instant feedback), then, when he exits, peco prints:
So the developer will just have to put copy/paste the command below inside his script :
PS: I just installed
peco
so I did not took the time to see how fare the query engine could go. Here "-excludeA" and "-excludeB" are word exclusions.The text was updated successfully, but these errors were encountered: