nvim-incnormal icon indicating copy to clipboard operation
nvim-incnormal copied to clipboard

Not incremental after space

Open pianocomposer321 opened this issue 5 years ago • 1 comments

I realize that this plugin was never meant to be 100% usable, but it looks like exactly what I need!

The only issue I've had with it so far is that anything you type after a space is no longer updated in the document incrementally. So if I do '<,'>norma A; it updates fine and adds a semicolon to the end of each line in the selection. If however, I do something like '<,'>norma A = 0 to initialize some variables to zero, it is no longer interactive. The variables all change after I press enter, but they are not automatically updated.

pianocomposer321 avatar Aug 02 '20 21:08 pianocomposer321

I suspect this is something in nvim's handling, the code which executes doesn't do any string trimming, but I see the same for things like

'<,'>norma f 
"           ^ space here

bobrippling avatar Dec 18 '22 20:12 bobrippling