rustyline icon indicating copy to clipboard operation
rustyline copied to clipboard

Add Option for Prefix-Based Reverse Search

Open oberien opened this issue 4 years ago • 5 comments

Allow history search via Arrow-Up/Down or C-p/n to go either line-by-line or based on the prefix before the cursor position

Fix #423

oberien avatar Aug 02 '20 23:08 oberien

I rebased this PR to the newest master. Is there anything that's missing for a review?

oberien avatar Oct 31 '20 15:10 oberien

I squashed my commits to make rebasing easier and rebased onto the current master.

The issue behind this PR in nushell comes up every now and again to allow nushell to have zsh-similar search behaviour taking into account the typed prefix. Is there anything I can do to help get this PR merged?

oberien avatar Apr 17 '21 15:04 oberien

@gwenn Is this PR something that could be of interest to rustyline?

oberien avatar May 20 '21 16:05 oberien

@gwenn We would really like to have this on nushell. Can you please look at this PR?

fdncred avatar Jun 02 '21 12:06 fdncred

https://github.com/kkawakam/rustyline/pull/545/commits/eb68960f866f229c64f05aea5ca6570765a5daf9 preserves cursor position.

gwenn avatar Jul 14 '21 12:07 gwenn