-
Notifications
You must be signed in to change notification settings - Fork 407
Telescope or similar preview window for referencing/fuzzy finding references #2826
Description
Recently there has been a really significant quality-of-life functionality with the help of @micangl which is the development of the cmp-vimtex plugin, which allows for fuzzy finding of latex references like citations and equations. For me, this has been absolutely essential, so I am eager to see how the plugin develops (and also considerations of direct implementation into vimtex evolves).
I am wondering if it is possible to develop a Telescope-like plugin where you can fuzzy find on labels, but allowing you to preview where the label of such a reference appears.
For example, suppose that my equation is referenced via \label{eq:bigresult}. I would like to press shortcut, pop up a Telescope window, then type 'big' and immediately get a preview of the text where the relevant label appears. Alternatively I can scroll through possible entries and select whichever one is appropriate.
- Another Reddit user asked a similar question about a year ago: https://www.reddit.com/r/neovim/comments/14aj2az/telescope_latex_labels/
- A Telescope plugin for parsing your bibtex file is telescope-bibtex.nvim.