1 line
2.2 KiB
Plaintext
1 line
2.2 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>Hi everyone,</p> <p>I've been diving into learning some emacs over the last week or so as I'm interested in possibly switching over from using neovim (primarily because I want org-mode). I've been deep diving into a lot of new things and trying to set up alternatives for my major nvim workflows, but one that I've been having a ton of trouble with is searching and the previews for it in particular. In my projects I make heavy use of <a href="https://github.com/nvim-telescope/telescope.nvim">Telescope</a> within neovim and one of the major reasons that I love it is the ability to preview grep results from files in my project directory within a separate window. I like being able to get more context from the search without actually opening up a new buffer. I've set up Ivy and Counsel and was trying to get the same functionality working, but I'm having a heck of a time with previewing. The closest I've come is realizing that after using <code>counsel-projectile-rg</code> that I can use <code>ivy-next-line-and-call</code> functionality to move the current buffer through the search results with <code>C-M n or C-M p</code>, however, that actually opens the buffer and populates my buffer list. Does anyone know if there's some sort of functionality to open a new <strong>preview</strong> window and navigate through those search results in it by default with <code>C-j</code> (I'm using evil mode). Essentially I'd always like this type of preview whenever I'm doing searches. Also, I'm not attached to any particular completion or search framework, so if this is easier in something like Helm then I'd be open to solutions from that as well. I attached a gif of what I'm talking about working in Telescope</p> <p><a href="https://i.redd.it/cp4ls2931m081.gif">https://i.redd.it/cp4ls2931m081.gif</a></p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/Brojak"> /u/Brojak </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/qxohi8/replicating_a_telescopenvim_like_experience/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/qxohi8/replicating_a_telescopenvim_like_experience/">[comments]</a></span> |