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

Search in search results #261

Open
Seybo opened this issue Apr 21, 2019 · 5 comments
Open

Search in search results #261

Seybo opened this issue Apr 21, 2019 · 5 comments

Comments

@Seybo
Copy link

Seybo commented Apr 21, 2019

Is there a way to do a new search inside the files from the current search results? For example, i want to find all the <imgs with a style passed to. They are not on the same line and the number of lines between them can vary so i'm thinking of doing one search for <img and then the style search inside the results. Can i do that?

@dyng
Copy link
Owner

dyng commented Apr 21, 2019

It's not yet possible but the feature you mentioned sounds amazing, I'll consider it.

@dyng
Copy link
Owner

dyng commented Apr 21, 2019

@Seybo I have implement a new command CtrlSFFilter, for solving your problem (I think it should), please checkout branch feature/filter and have a try. Any feedback is welcome.

@Seybo
Copy link
Author

Seybo commented Apr 22, 2019

Great! Seems to work perfect

@Seybo
Copy link
Author

Seybo commented Apr 22, 2019

Maybe a better way to implement it is to make CtrlSFPrompt command to work as CtrlSFFilter if it is fired from the search results buffer. That way it would be possible to use the same shortcut for both cases

@dyng
Copy link
Owner

dyng commented Apr 24, 2019

It makes CtrlSFPrompt ambiguous and I think it's not as useful as thought, but you remind me that I can map a key for CtrlSFFilter in ctrlsf pane.

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

No branches or pull requests

2 participants