Support "u" and "U" and "^R".

Bug #484922 reported by Chad Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ViGedit
New
Undecided
Unassigned

Bug Description

Support undo, undo-all-for-this-line, and re-do.

undo and redo pop operations off the stack and do not themselves count as an operation to be pushed on to the stack.

3dd u

should leave the state as it was.

5x 10x u

should remove 5 characters from the buffer.

5x 10x U

should leave the state as it was.

5x u ^R

should remove 5 characters from the buffer.

Revision history for this message
Stephen Moore (delfick) wrote :

Hello,

Unfortunately, because I'm using the undo and redo menu items whenever you press u or ^R I don't have any explicit control over what is or isn't undone/redone.

so :

3dd : results in needing to do two undos
5x 10x u does the same as what you want 5x 10x U to do
there is no U keybinding
5x u ^R does what you want :)

I'd be very happy if someone could show me how to fix this, but for now, I'm unsure how I would

Sorry

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.