Skip to content

feat(grep): Jump to next file match segment#595

Open
Hex4C wants to merge 1 commit into
dmtrKovalenko:mainfrom
Hex4C:feat/grep-jump
Open

feat(grep): Jump to next file match segment#595
Hex4C wants to merge 1 commit into
dmtrKovalenko:mainfrom
Hex4C:feat/grep-jump

Conversation

@Hex4C

@Hex4C Hex4C commented Jun 12, 2026

Copy link
Copy Markdown

Fully closes #512


Heavily inspired by #532 (squashed based on that PR)

Since a majority of the logic already was implemented and only needed to be slightly adapted to the new structure for the picker_ui I wrote a majority of the code with LLM assisted tools.

I did the same thing for the unit test, but I am less certain of them... They seemed slightly dated, they can almost certainly be improved.

I have tested the UI for edge cases such as no files, 1 file and multiple files etc and it has worked flawlessly so far.

Feedback is greatly appreciated or edit the files directly if you wish. Hope this helps!

@Hex4C

Hex4C commented Jun 12, 2026

Copy link
Copy Markdown
Author

Force pushed to remove picker_ui.lua (original before refactor), accidentally added it.

@Hex4C

Hex4C commented Jun 13, 2026

Copy link
Copy Markdown
Author

Messed up the test setup, fixed now and passes the 4 unit tests.

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

Successfully merging this pull request may close these issues.

[FEATURE REQUEST] fff.nvim - Choose specific file in grep

1 participant