I currently am half-happy with the PSReadLine
module's MenuComplete
function assigned to my Tab
key, and was looking for a way to navigate around the offered menu with the HJKL keys. I currently have this on top of my profile:
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
I tried the following:
Set-PSReadlineKeyHandler -Chord Ctrl+K -Function UpArrow
Which I hoped would at least simulate up arrow key with the combination Ctrl+K
, but to no avail, as UpArrow
is not recognized as a function.
If I am allowed to dream, I would like to;
- Initiate
MenuComplete
usingTab
, - Use HJKL for moving my selection around, and
- Use
Tab
again for confirming a selection and dismissingMenuComplete
.