PowerShell 5.1 is installed with Windows 10, but I don't see where you used that in any of your demonstrations. Have you tried that?
Which version of PS7 are you running? If it's not 7.3 you should update PSReadline: about_psreadline before doing anything else.