Conversation
added 5 commits
June 25, 2024 13:19
That allow us to fuzzy search files and preview their content.
That allow us to fuzzy search for files in the buffer and preview its content.
juanarias93
approved these changes
Jun 25, 2024
Contributor
juanarias93
left a comment
There was a problem hiding this comment.
Love it ❤️
Would you mind updating the README, adding the functionalities that fzf provides? Thanks!
268a775 to
63196f6
Compare
nicolastemciuc
approved these changes
Dec 2, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
The
git grepway of searching through files was a little bit uncomfortable, so we decided to investigate different alternatives for doing it in vim.We finally run into https://github.com/junegunn/fzf.vim which provides a fuzzy search using
fzfandripgrep.What's more it also provides other functionality like searching files in the working directory and in the buffer.
Details
Prerequisites
In order to be able to use it, you will need to install
fzfandripgreporagfor searching through files.fzfripgrepagHow to use it
CTRL+/to search though files contentsCTRL+\to search for occurrences of the word under the cursorCTRL+pfor searching filesCTRL+bfor searching files in the bufferCustomization
There are a lot of ways of customizing
fzf.vimcommands. Refer to their docs in order to do it. It might be a good idea to add customizations to this plugin if we all feel confortable with them.