In A PowerShell Window, Ctrl + F Doesn't Bring up Find

The menu should be updated to remove the shortcuts listed for Mark and Find. They don't work as expected. Paste and Select All work with the respective keyboard shortcuts listed.

You can access Find via the keyboard with Alt+Space+E followed by F.


PM for Windows Console here.

This is a known limitation of how PowerShell and Console interact. Console supports several input modes including Processed and VT input.

In Processed mode, Console traps some reserved key chords to perform local actions like Break (CTRL+C), Find CTRL+F, Command History (F7) etc.

In VT mode, Console converts all keys/chords into VT Sequences and passes them straight through to the connected shell/app.

PowerShell sets Console in VT mode in order to maintain a higher degree of compatibility with *NIX-like tools, etc. Alas, this means that when using PowerShell, Find won't work in Console.

Console's primary responsibility is to maintain backward compatibility, which results in us rarely making any UX changes to Console lest we break something/someone.

However, we're actively building the new Windows Terminal which provides FAR more powerful, flexible, and configurable command-line user experience. In Windows Terminal, if you declare a key mapping in your settings, your key mappings take precedence and allow you to override default behaviors.

If you're running Windows 10 1903 or later, then we STRONGLY encourage you to evaluate and migrate to using Windows Terminal wherever possible.

Tags:

Powershell