Open svermeulen opened 5 years ago
This is because the vim undo operation does not always restore the cursor to the position it was before the operation took place, and the swapping logic assumes this. So I think we need to wait for neovim to fix this issue
Given the following buffer with cursor at ^
Execute
yjjjyj
to copy two multiline yanks to yoink history. Move cursor:Hit
sj<c-n>
to perform a substitute then swap. Notice the buffer now appears as:When it should be: