Hi Everyone.

I’m using emacs and ripgrep to find what I’m looking for in a folder. Ripgrep shows the result of what I’m looking beautifully. Thats great. Every time I open a result, ripgrep buffer disappears.

Does anyone know how to open a temp buffer to view result then I can close it and go back to rg result again, so I don’t have to type my search query.

Thanks.

  • hvis@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Also try C-x p g for a similar UI.

    Customize xref-search-program to make it use ripgrep under the covers.

    • Kwisacks@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Which points to the grep command, so what really needs to be customize is grep-command no?