vim-flog icon indicating copy to clipboard operation
vim-flog copied to clipboard

Support mini.git

Open luisdavim opened this issue 11 months ago • 1 comments

Hi, I've been trying to move most of my configuration over to mini.nvim, which has https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-git.md would it be possible to add support for it as an alternative to fugitive?

luisdavim avatar Jan 30 '25 07:01 luisdavim

It is theoretically possible.

Take a look at autoload/flog/backend.vim. You just have to replace the various fugitive commands and functions with equivalents from mini.nvim, and set the various g:flog_backend_* variables appropriately.

It's not very well documented right now and some of these functions aren't documented in the Fugitive documentation either, but with enough effort you can find what they do.

Sorry I don't have more time to write up details right now, but I thought I would point you in the right direction.

rbong avatar Jan 30 '25 18:01 rbong