I learned today that I had misunderstood the U command, and additionally made changes to a "getting started" page on the wiki that corrected the same misunderstanding:
http://vim.wikia.com/wiki/Undo_and_Redo I had thought that U worked on the current line. Rather, it works on the most recently modified line. I think :help U should be updated to make it clearer what the command actually does. Change: U Undo all latest changes on one line. {Vi: while not moved off of it} to: U Undo all changes on the most recently modified line until just after a different line was changed or editing started on this line. If no changes since the last U command, undo the last U. {Vi: only when cursor has not moved off last modified line} Any thoughts? Is this actually an accurate description or do I still misunderstand? Perhaps we should remind users of persistent undo here as well (since changes which are undone could combine with changes from months ago, for example). -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
