junegunn / fzf.vim

fzf :heart: vim
MIT License
9.55k stars 583 forks source link

Powershell: issues with running commands with reload and execute. #1412

Closed A-Lamia closed 2 years ago

A-Lamia commented 2 years ago

Info

OS: Windows 10 Shell: Powershell Terminal: Windows Terminal

Problem

Unable to run a --bind 'change:reload(sleep 0.1; $RG {q} || $true)' i can only run 1 command at a time any more then that will return [Command failed: sleep 0.1; rg --column --line-number --no-heading --color=always --smart-case [^"string_to_search"^] || True]

every time i change a word i need to wait for it to finish, in a larger project this can take a long time. I tried looking through the wiki for a binding that could interrupt ripgrep or disable search when quay is empty but found nothing, also tried running execute on a keybinding but that also returned command failed

Desired Effect

Stop rg from constantly searching on each key press, do not run when query is empty.