kelleyma49 / PSFzf

A PowerShell wrapper around the fuzzy finder fzf
MIT License
787 stars 34 forks source link

CTRL-T does not work in vi-mode #74

Closed jnunderwood closed 3 years ago

jnunderwood commented 3 years ago

I use vi-mode on the powershell command line by putting this in my profile:

Set-PSReadlineOption -EditMode vi

When using vi-mode, CTRL-T transposes characters. Is there any way to override the default behavior so that fzf is invoked instead?

kelleyma49 commented 3 years ago

Apologies for the delayed response!

Make sure that line comes before you load the PSFzf module or before you call Set-PsFzfOption in your profile.

jnunderwood commented 3 years ago

Thank you!

sim590 commented 1 year ago

Related to this, I realized that FZF is not called when you're in Normal mode (after pressing ESC) and ctrl-r will call the powershell reverse search instead:

image

On Windows, I get an input prompt find: which is the default reverse search prompt:

image

Could FZF also register correctly in normal mode ? For now, I really have to be in Insert mode for FZF to work correctly.