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 query should be remembered for next run #38

Closed
martinvonz opened this issue Mar 11, 2021 · 3 comments
Closed

Search query should be remembered for next run #38

martinvonz opened this issue Mar 11, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@martinvonz
Copy link

less remembers the last thing you searched for so you can just press "n" to search for it again next time. It would be nice to have the same feature in streampager.

@markbt
Copy link
Owner

markbt commented Mar 11, 2021

I don't think I'd ever used that feature of less before. We do have the search history (/, Up), so it shouldn't be too hard to implement this.

@markbt markbt added the enhancement New feature or request label Mar 11, 2021
@martinvonz
Copy link
Author

Ah, I didn't realize that you had search history (nice!). Just n is still a nice shortcut, but /,Up is good for now, thanks.

@markbt
Copy link
Owner

markbt commented Apr 8, 2021

When I get round to this, I should also add shortcuts for "jump to next/prev match relative to the current screen position" (cc @quark-zju).

quark-zju added a commit to quark-zju/streampager that referenced this issue Jun 26, 2021
Make n N load the last search pattern automatically. Matches less behavior.

Resolves markbt#38.
@markbt markbt closed this as completed in 97f7ff0 Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants