kelleyma49 / PSFzf

A PowerShell wrapper around the fuzzy finder fzf
MIT License
750 stars 35 forks source link

How do I bind ctrl+Y to copy the current selected path in windows? #262

Closed owenstake closed 3 months ago

owenstake commented 3 months ago

My setting

$env:FZF_CTRL_T_OPTS="
  --bind 'ctrl-y:execute-silent(echo %cd% | clip)'
"

After pressed ctrl-y, what i get in clipboard is the user home path C:\user\username, not the current working directory.

owenstake commented 3 months ago

I found it solved in psfzf 2.4.0