You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This occurs because it uses the change operation in combination with enabling paste mode to do the substitution. This is nice because it handles edges cases like end of line, end of file, etc. better. But given this problem, we might have to change it to use p instead and then just add special case behaviour for all the edge cases. This problem would be especially bad when doing things like copying the entire contents of the buffer and then replacing another buffer.
Repro steps:
foo ^G<cr>bar
. Should display asfoo ^Mbar
.yy
p
foo ^Mbar
sj
(assuming default mapping)The text was updated successfully, but these errors were encountered: