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

Feature request: Add ability to interactively search previous Python commands using CTRL-R #18

Open
cohml opened this issue Jun 29, 2023 · 0 comments

Comments

@cohml
Copy link

cohml commented Jun 29, 2023

fzf is great for things like what's shown in your README's GIF. But just as useful, if not more so, is the ability to interactively filter command history using CTRL-R.

This SO reply shows how it is possible to use your package for for this in an iPython shell. I have implemented it myself and confirmed that it works, albeit the UX could probably be improved.

I use IPython 100% of the time, so I'm personally content with this. But people who just stick to the regular Python REPL cannot benefit from that SO reply.

Fortunately, since both IPython and Python log previous commands in history files, I have little doubt that something similar can be achieved for the Python REPL. It would be really nice to include a subdirectory in your project that provides this functionality.

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

1 participant