term-edit.nvim icon indicating copy to clipboard operation
term-edit.nvim copied to clipboard

Dangling spaces after delete even though they don't exist in terminal

Open chomosuke opened this issue 3 years ago • 1 comments

Steps to reproduce: copy this:

long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long
short
short
short

into the terminal. cc on the first long line
first line get's deleted and we're left in terminal mode as expected
<C-\><C-n> to quit terminal mode.
$ and notice NeoVim think there's a bunch of dangling space even though there isn't.

This causes term-edit.nvim to misbehave as it thinks the line is longer than it is.

chomosuke avatar Jan 17 '23 08:01 chomosuke

Possible solution: ignore_white_space option.

chomosuke avatar Jan 24 '23 11:01 chomosuke