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 search is not working #549

Open
sendev1 opened this issue Oct 10, 2020 · 6 comments
Open

Reverse search is not working #549

sendev1 opened this issue Oct 10, 2020 · 6 comments

Comments

@sendev1
Copy link

sendev1 commented Oct 10, 2020

When I type ctrl+r the reverse-i-search windows comes up but as soon as i type my first character it bring the command matching that charcter but I am not able to continue to type like remove and find the matching command.

image

@sendev1
Copy link
Author

sendev1 commented Oct 10, 2020

ctlr+s is not doing anything. I am not even able to type the charcters

@chrisant996
Copy link

This fork has been inactive for years. Have you tried in chrisant996/clink? Ctrl+R and Ctrl+S seem to work fine there.

@sendev1
Copy link
Author

sendev1 commented Oct 20, 2020

It says

Download
Downloads for the latest release of Clink are not available. Stay tuned.

Could you please tell me which clink cmder default it uses and how can I download the one that you referred and make cmder to use the newly download clink

@chrisant996
Copy link

The chrisant996 fork isn't ready yet to replace the clink that's bundled with cmder. I'm working on it.

Cmder uses clink v0.4.8, which has a different syntax for the argument and match completions lua scripts.

The chrisant996 fork is working on finishing the v1.0.0 enhancements that Martin had shared in an unfinished state. The lua syntax changes are incompatible between the versions, and I'm working on fixing that so they can interoperate seamlessly.

This is a side project for me and so I can't commit to any particular dates. It's coming, though... 😁

@sendev1
Copy link
Author

sendev1 commented Oct 21, 2020 via email

@chrisant996
Copy link

I recommend reading the Clink documentation, and especially the Readline documentation that it references.
The history search features (and most of the editing features in Clink) come from the Readline library.

I'm not having any trouble using Ctrl+R in cmder with the version of clink bundled with it. Searching the history ignores any keys that don't match. So if it's doing nothing when you press a key, that probably means there is no match.

Also, the report only describes what doesn't happen; it doesn't mention what does happen. So it's hard to offer suggestions.

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