Code Monkey home page Code Monkey logo

Comments (3)

em2943 avatar em2943 commented on July 17, 2024

now working

from init.lua.

aiuhjv1 avatar aiuhjv1 commented on July 17, 2024

I'm just going to put this here in case anyone else encounters the issue I did that is similar to this one. If after installing ripgrep the <leader>ps keymap isn't working you can try troubleshooting with these steps:

  1. Run :checkhealth command in normal mode inside vim. Navigate down to telescope and see if you have any errors. For myself I had: ERROR rg: not found. live-grep finder will not function without [BurntSushi/ripgrep](https://github.com/BurntSushi/ripgrep) installed. This indicated that telescope couldn't find ripgrep even though it was installed.
  2. Run which rg in your terminal. Because I was able to execute commands like rg -i requires and get a response in my terminal, I had assumed that the ripgrep binary (rg) was already on my PATH. It wasn't until I tried which rg that I realized that it wasn't. I'm still not sure why, but when I installed ripgrep with homebrew my cellar isn't symlinked to 'usr/local/bin` so it wasn't added to PATH, but I was still able to execute it.
  3. Either way, the fix was to find the location of the binary by checking the output of my homebrew install ripgrep command and then add that to my my PATH in ~/.bash_profile. After that when I ran :checkhealth telescope had: OK plenary installed and when I executed <leader>ps with Grep > requires I was able to see files.

Hope this helps.

from init.lua.

em2943 avatar em2943 commented on July 17, 2024

thanks

from init.lua.

Related Issues (20)

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.