Notification texts go here Contact Us Buy Now!

How to exclude results from fzf.vim search

To exclude results from your fzf search in Vim, you can use the - operator followed by the pattern you want to exclude. For example, to exclude all files ending with .txt, you would use the following command:

``` :Files -*.txt ```

You can also use the ! operator to invert the match. For example, to find all files except for those ending with .txt, you would use the following command:

``` :Files -!*.txt ```

The - and ! operators can be combined to create more complex exclusion patterns. For example, to exclude all files ending with .txt or .md, you would use the following command:

``` :Files -*.txt -*.md ```

You can also use the -g operator to exclude results that match a specific group. For example, to exclude all files in the vim group, you would use the following command:

``` :Files -g:vim ```

The -g operator can be used to exclude results from any group, including user-defined groups.

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.