junegunn / junegunn/fzf.vim

Question: can I change my fzf query with a shortcut

Open
#1,486 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- [x] I have fzf 0.30.0 or above
- [x] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md
- [x] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md
- [x] I have read through the manual page of fzf (`man fzf`)
- [x] I have searched through the existing issues

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the fzf.vim README.md, fzf README-VIM.md, and the fzf manual, then trace the Rg entry point described in the issue. Determine whether a shortcut can adjust the search directory after launch; done means the behavior is supported or its limitation and configuration are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.