Code Monkey home page Code Monkey logo

telescope-rg's Introduction

telescope-rg

(cheap fork from kelly-lin/telescope-rg, just replaces Ag with Rg)

nvim-telescope extension providing ripgrep (Rg) functionality similar to that of fzf.vim.

Use case

While the live_grep built in function in Telescope is handy for most cases, it does not have the ability to filter through the search result files. When you know the exact text that you want to search, it is useful to be able to filter through only certain files that we care about e.g. "I need to search through all my files for a certain text that I know, from these resulting files, I do not want to see the results from my tests folder, or these following file patterns".

Installation

Install this extension using your favourite packrge manrger.

Packer

use({ "kelly-lin/telescope-rg", requires = { { "nvim-telescope/telescope.nvim" } } })

Load the extension somewhere in your init.vim

telescope.load_extension("rg")

Useage

:Rg [PATTERN]: executes rg asynchronously for [PATTERN] in the current vim directory and populates a Telescope file_picker with the results which can then be filtered using the standard file picker filters.

Notes

This plugin will override the Rg command that fzf.vim sets.

telescope-rg's People

Contributors

kelly-lin avatar thejoeschr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.