new: pwsh : set Ctrl+g for Invoke-FzfTabCompletion

This commit is contained in:
qwjyh 2022-09-27 19:25:41 +09:00
parent 5ee5aa585b
commit 89b39204c0

View file

@ -5,6 +5,7 @@ Set-PSReadlineOption -HistoryNoDuplicates
Set-PSReadLineKeyHandler -Chord "Ctrl+f" -Function ForwardWord # like fish Set-PSReadLineKeyHandler -Chord "Ctrl+f" -Function ForwardWord # like fish
Set-PSReadLineKeyHandler -Chord "Tab" MenuComplete Set-PSReadLineKeyHandler -Chord "Tab" MenuComplete
Set-PSReadLineKeyHandler -Chord "Ctrl+d" DeleteCharOrExit Set-PSReadLineKeyHandler -Chord "Ctrl+d" DeleteCharOrExit
Set-PSReadLineKeyHandler -Chord "Ctrl+g" -ScriptBlock { Invoke-FzfTabCompletion }
# PsFzf Options # PsFzf Options
# 'Ctrl+t' for provider path, 'Ctrl+r' for reverse history # 'Ctrl+t' for provider path, 'Ctrl+r' for reverse history