Skip to content

Telescope or similar preview window for referencing/fuzzy finding references #2826

Description

@ThSGM

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions