Small tip if you’re on Windows and are used to UNIX vi style shell command history (set -o vi). And aren’t using cygwin, Linux Subsystem for Windows, Git bash, etc.

Command history search, in particular, is what I really wanted. Searching anywhere in the command, not only at the start, where Windows’ F8 search works.

PowerShell’s PSReadLine has a vi mode:

Set-PSReadLineOption -EditMode vi