live-command.nvim icon indicating copy to clipboard operation
live-command.nvim copied to clipboard

Add support for `inccommand=split`

Open jedevc opened this issue 1 year ago • 1 comments

Heya! Huge thanks for this plugin :heart:

When setting inccommand=split (to visualize changes across an entire file), for some reason, it seems to remain empty, while other changes in the main screen continue to be visualized (with a custom G command that maps to g):

image

The split works at intended in builtin commands like :s:

image

I could be missing something super super basic, sorry! I did see back in https://github.com/smjonas/live-command.nvim/issues/7#issuecomment-1216412703, that only visible lines in the buffer were being visualized, which might explain this? But I'd expect that if inccommand=split was set, that I'm okay to accept to the performance penalty.

Again, thanks! :tada:

jedevc avatar Oct 04 '24 20:10 jedevc

Heya! Huge thanks for this plugin ❤️

Hey, first of all thanks <3

I would have to add support for inccommand=split as it does not work out of the box when using Neovim's previewable command feature. This shouldn't be too hard.

smjonas avatar Oct 06 '24 15:10 smjonas