This fixes #1015 and makes pasting with 'P' closer to what VIM does. Added a test case that emulates the specific case mentioned in the issue. Also, edited another test case to match the behavior I encountered in VIM. I removed a lot of code from from the _vi_big_p() function. It passes all the tests, but i apologize if I've removed some functionality not covered in the tests.
This fixes #1015 and makes pasting with 'P' closer to what VIM does. Added a test case that emulates the specific case mentioned in the issue. Also, edited another test case to match the behavior I encountered in VIM. I removed a lot of code from from the _vi_big_p() function. It passes all the tests, but i apologize if I've removed some functionality not covered in the tests.