term-edit.nvim
term-edit.nvim copied to clipboard
Dangling spaces after delete even though they don't exist in terminal
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.
Possible solution: ignore_white_space option.