New
#1
PowerShell: How to get keyboard shortcuts working?
I lately switched to PowerShell as my CLI and like it. What I don't understand, though, is, why not all keyboard shortcuts work as one would expect.
E.g. if I open the upper-left corner menu and navigate to Edit => Find I see a "Ctrl-F" at the right side of the menu entry. This suggests to me that one could also call that function using the displayed keyboard shortcut.
However, if I hit Ctrl-F on the command line, nothing happens other than that I get a '^F' displayed. No matter what I do or enter subsequently (e.g. '^Ffoobar<Enter>') I always just get an error message '[?]foobar' is not recognized as the name of a cmdlet, function, etc.'
( [?] here indicating a box with some too-tiny-to-read character inside).
So, the ^F and some other keyboard shortcuts that are displayed in the menu are obviously ignored and have no function.
Is there a way to get these working in PowerShell?