Skip to content

Easy and intuitive ripgrep search plugin for Neovim.

License

Notifications You must be signed in to change notification settings

walker84837/ripgrep.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ripgrep.nvim

Look for stuff in your code, easily.

ripgrep.nvim allows you to use ripgrep from within Neovim to search for a string in your project and display the results in the quickfix list so you can jump between matches.

Installation

lazy.nvim:

{
    "walker84837/ripgrep.nvim",
    config = function()
        require("ripgrep").setup()
    end,
}

Usage

The plugin provides two user commands:

  • :Rg <query>: Search for the given query using ripgrep, following symlinks.
  • :RgIgnore <query>: Search for the given query using ripgrep, ignoring symlinks.

Replace <query> with the actual search query.

How it works

When you run one of the user commands, the plugin executes the corresponding ripgrep command and loads the results into the quickfix list. The quickfix list is then opened, displaying the search results.

Notes

  • The plugin assumes you already have ripgrep installed on your system. If you don't have ripgrep installed, the plugin will not work.
  • ripgrep.nvim is a result of me experimenting with Neovim plugins to move a part of my init.lua to a separate plugin, so expect anything to break at any time.

About

Easy and intuitive ripgrep search plugin for Neovim.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages