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

Reverse intelligent search #7

Open
artemrizhov opened this issue Nov 3, 2014 · 3 comments
Open

Reverse intelligent search #7

artemrizhov opened this issue Nov 3, 2014 · 3 comments
Assignees

Comments

@artemrizhov
Copy link

Saving output history solves one half of the problem. Finding a history item should be as easy as saving. I think this may be accomplished with a search feature just like reverse-search-history in bash, but with some cut of the found output. Then an editor of user's choice may be used to open the selected output. Short outputs may be printed directly to stdout.

@9seconds
Copy link
Owner

9seconds commented Nov 4, 2014

Will you please elaborate what do you mean? Searching in outputs? Use case: "gimme outputs where we meet that line" Or?

@9seconds 9seconds self-assigned this Nov 4, 2014
@artemrizhov
Copy link
Author

Actually I mean searching in commands. Searching in outputs is a good idea too, but it is more complex to implement, and imho this is not so important feature. We still can search through the output history file, right?

So the idea is to add the reverse search feature just like Ctrl+r in bash, but it should give some preview of the command output. And it should open the command output when the user presses the Enter button.

@9seconds
Copy link
Owner

It is a next plan but unfortunately I have no time realize how curses or termbox will work here. So stay tuned

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

2 participants