vim-gina
vim-gina copied to clipboard
Can I use it with delta instead of diff-highlight?
Thank you for the great project. I don't see why this is not popular enough than other project.
When I Gina:log and show commit. It shows diff with default git diff.
Maybe can I use it with tools like delta?
delta supports git diff --color | delta --diff-highlight which emulate same view as diff-highlight (but better).
Thanks.
Well, unfortunately, supporting delta is a bit tough work while gina depends on the feature of git itself.
That's sad, for now here's mapping to use delta
call gina#custom#mapping#nmap(
\ 'log', 'd',
\ ':execute printf(":new term://git diff %s \| resize +10", gina#action#candidates()[0].rev)<cr>',
\ {'noremap': 1, 'silent': 1},
\)