anekos / telescope-rg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

telescope-rg

telescope-rg is an extension for telescope.nvim, which enables users to utilize ripgrep (rg) within the telescope interface.

Setup

To load the extension, use the following command:

require('telescope').load_extension('rg')

Usage

This will also register the search results in the quickfix list.

:Rg your-search-query

or

:Telescope rg query=your-search-query

Pass extra command options to rg

:Telescope rg query=your-search-query type=py
:Rg! --type=py your-search-query

means

$ rg --type=py your-search-query

About

License:MIT License


Languages

Language:Lua 100.0%