rschmitt / heatseeker

A high-performance Selecta clone, written in Rust.
MIT License
214 stars 10 forks source link

PSReadLine default keybind for Ctrl-S #39

Closed Hrxn closed 2 years ago

Hrxn commented 4 years ago

As far as I know, Ctrl+s is the keybind for the function to search history forward interactively, set as a pre-defined default by PSReadLine.

Is this something that should maybe be mentioned in the example in README.md?

And if I may ask, did you pick Ctrl-S intentionally here? I mean that interactive history search forward does not really seem useful to me. Can't remember that I've actually used it for myself.

Hrxn commented 3 years ago

Ping.

rschmitt commented 3 years ago

I wasn't aware of the default ^S shortcut in PowerShell. That shortcut comes from Selecta's examples, where it's used in the context of zsh integration. In that case, you're overriding a keybinding for a totally unrelated function, namely flow control.