还是MenuComplete 好用
This commit is contained in:
parent
0e3716f007
commit
511cc4cf54
@ -8,11 +8,11 @@ Set-PSReadLineOption -EditMode Windows
|
||||
Set-PSReadLineOption -PredictionViewStyle ListView
|
||||
Set-PSReadLineOption -BellStyle None
|
||||
# 设置 Tab 键补全
|
||||
Set-PSReadlineKeyHandler -Key Tab -Function Complete
|
||||
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
|
||||
# 设置 Ctrl+z 为撤销
|
||||
Set-PSReadLineKeyHandler -Key "Ctrl+z" -Function Undo
|
||||
# 设置 Ctrl+d 为菜单补全和 Intellisense
|
||||
Set-PSReadLineKeyHandler -Key "Ctrl+d" -Function MenuComplete
|
||||
# Set-PSReadLineKeyHandler -Key "Ctrl+d" -Function MenuComplete
|
||||
# 设置向上键为后向搜索历史记录
|
||||
Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward
|
||||
# 设置向下键为前向搜索历史纪录
|
||||
|
Loading…
Reference in New Issue
Block a user