linrongbin16 / fzfx.nvim

A Neovim fuzzy finder that updates on every keystroke.
https://linrongbin16.github.io/fzfx.nvim/
MIT License
122 stars 5 forks source link

Center search result once selected #493

Closed savchenko closed 8 months ago

savchenko commented 9 months ago

Small, but handy feature. When user selects a line from the Grep menu, execute zz on file.

Currently it moves cursor to the correct line, however it's not centred on the screen which makes it hard(er) to quickly find the cursor position.

linrongbin16 commented 9 months ago

hi @savchenko thanks for suggestion, it seems a good feature.


update: @savchenko , this feature is added in #514 , please pull latest main branch and have a try.

savchenko commented 8 months ago

Works great, thank you!