emacs/var/elfeed/db/data/7a/7a0beacb893d04170292bc059bd60669a20e21b4
2022-01-03 12:49:32 -06:00

1 line
2.2 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>Hi everyone,</p> <p>I&#39;ve been diving into learning some emacs over the last week or so as I&#39;m interested in possibly switching over from using neovim (primarily because I want org-mode). I&#39;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&#39;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&#39;ve set up Ivy and Counsel and was trying to get the same functionality working, but I&#39;m having a heck of a time with previewing. The closest I&#39;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&#39;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&#39;m using evil mode). Essentially I&#39;d always like this type of preview whenever I&#39;m doing searches. Also, I&#39;m not attached to any particular completion or search framework, so if this is easier in something like Helm then I&#39;d be open to solutions from that as well. I attached a gif of what I&#39;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 --> &#32; submitted by &#32; <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> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/qxohi8/replicating_a_telescopenvim_like_experience/">[comments]</a></span>