Skip to content

Conversation

@vinitkumar
Copy link

Thank you for the amazing plugin. @dmtrKovalenko. I just switched to it from fzf.nvim yesterday. Honestly, the speed difference in amazing. One thing that I frequently used and missed here was :Buffers alternative in here. I had a keybinding in my lua/vim config that would open existing buffers. Hence, I implemented this with some AI assistance as I am currently at my day job and didn't had enough time to go through it all.

I tried my fork on local and it just works beautifully.

Screenshot 2025-11-28 at 11 30 57

Please let me know if you want me to update some code or make some other changes and I will love to improve the code.

Thank you.

Copilot AI review requested due to automatic review settings December 14, 2025 19:14
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds a buffer picker feature to fff.nvim, providing a fast way to switch between open buffers similar to fzf.vim's :Buffers command. The implementation includes buffer tracking, fuzzy filtering, preview functionality, and comprehensive documentation.

Key Changes:

  • New buffer picker module with MRU (most recently used) sorting and buffer management
  • User command :FFFBuffers for invoking the buffer picker
  • Documentation updates in README.md and help files explaining the new feature

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
lua/fff/buffers.lua New 882-line module implementing the buffer picker UI, buffer tracking, filtering, and management functionality
lua/fff/main.lua Added buffers() function to expose the buffer picker in the main API
plugin/fff.lua Registered :FFFBuffers command for buffer picker invocation
README.md Added buffer picker documentation including features, keybindings, and usage examples
doc/fff.nvim.txt Updated help documentation with buffer picker section and command reference

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

vinitkumar and others added 6 commits December 21, 2025 13:31
The function get_icon_display does not exist in the icons module.
Fixed typo to use the correct function name get_icon.
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.

1 participant