junegunn / fzf.vim

fzf :heart: vim
MIT License
9.52k stars 582 forks source link

Question: can I change my fzf query with a shortcut #1486

Open ayroblu opened 1 year ago

ayroblu commented 1 year ago

Hey! I was wondering if there's a good way to adjust the query on the fly? My use case is that I'm running Rg on a specific directory, but sometimes I'm a little too deep and need to go up a level or two, it would be great to hit some hotkey and then it searches one directory above. Not sure how I'd do that with fzf.vim

RG kinda has a similar idea, but instead of relaunching the search on every keystroke, I only want to do the search once, but then if I need to I want to jump up a directory