Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Add a filter function to builtin.marks #3072

Open
GCBallesteros opened this issue Apr 24, 2024 · 0 comments
Open

[Feat] Add a filter function to builtin.marks #3072

GCBallesteros opened this issue Apr 24, 2024 · 0 comments
Labels
enhancement Enhancement to performance, inner workings or existent features

Comments

@GCBallesteros
Copy link

GCBallesteros commented Apr 24, 2024

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

@GCBallesteros GCBallesteros added the enhancement Enhancement to performance, inner workings or existent features label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to performance, inner workings or existent features
Projects
None yet
Development

No branches or pull requests

1 participant