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

Improve find-todos #101

Open
hjdivad opened this issue Sep 7, 2024 · 0 comments
Open

Improve find-todos #101

hjdivad opened this issue Sep 7, 2024 · 0 comments

Comments

@hjdivad
Copy link
Owner

hjdivad commented Sep 7, 2024

Right no w nvim-todos has a binding to search todo comments. I think it's <leader>ft. Add an override for this binding in the relevant lazyvim spec. If we don't already have a spec for this plugin, add it to editor.lua.

The keybinding should use fzf-lua to search todos, but only for lines that appear in the git diff $(git merge-base HEAD origin/master), i.e. those that have been added in local commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant