nvim-telescope/telescope.nvim

[Feat] Add a `filter` function to `builtin.marks`

GCBallesteros opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
The marks listing is populated with many mark positions that are created without explicit intervention from the user. For my normal usage these are noise that make it harder to navigate to the places I have manually marked.

Describe the solution you'd like
A mechanism to filter the marks once they have been parsed by telescope. For example via a filter option in require("telescope.builtin").marks. This function would default to the identify function.

Describe alternatives you've considered
There are a number of plugins listed on Awesome Neovim. Of them, the one that matches closest my needs is recall.nvim but I prefer the Telescope interface and would rather avoid adding yet another plugin to my config.

Edit: I have a minimal implementation of this feature if a PR would be welcome