Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pasting over visually selected line of new buffer not correctly undoable #134

Closed
GoogleCodeExporter opened this issue Aug 18, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Steps to reproduce:
1. vim -u NONE -N
2. ifoo<ESC>yy
3. :ene!
4. Vp
5. u
6. :set modified?

Expected:
The buffer should be empty after undoing the paste over the visually selected 
line.

Instead:
The buffer retains the last line of what was pasted, even though the modified 
state is set to nomodified. No further undo is possible.

Version/OS tested:
1. VIM - Vi IMproved 7.3, 1-905, NetBSD
2. VIM - Vi IMproved 7.3, 1-762, Cygwin
3. VIM - Vi IMproved 7.3, 1-46, MS-Windows 32-bit GUI

Original issue reported on code.google.com by hkpt...@gmail.com on 22 May 2013 at 6:56

@GoogleCodeExporter
Copy link
Author

Fixed by patch 7.3.1270

Original comment by brammool...@gmail.com on 29 Jun 2013 at 2:32

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant