Skip to content

powershell

复制本地路径 | 在线编辑

设置 Ctrl 绑定的快捷键没有起作用

比如下面的命令,没有起到作用

Set-PSReadLineKeyHandler -Key Ctrl+U -Function RevertLine

原因:小写... 也就是 Ctrl+u..

参考:https://github.com/PowerShell/PSReadLine/issues/1396

Comments