Undo is a command in many computer programs. It erases the last change done to the document reverting it to an older state. In some more advanced programs such as graphic processing, undo will negate the last command done to the file being edited.

learn more… | top users | synonyms

27
votes
2answers
5k views

Excel: how to undo in current file only?

Microsoft Excel's undo / redo feature behaves unlike any other program I know. The undo stack seems to be global across all open files, so that undoing sometimes switches to another file and undoes ...
19
votes
6answers
1k views

How can I discard my undo history in vim?

Undo is nice to have in Vim. But sometimes, at a known good point, I want to erase my undo history - to be able to use u to undo individual changes, but only back to a certain point. (For instance, ...
17
votes
11answers
11k views

Undo the Linux trash command

Can we undo operations done in a terminal, for example, file deletion through rm? Solutions obtained: Aliasing Undelete utilities Backup utilities LibCrash Versioning (FUSE)
16
votes
4answers
65k views

undo Linux's rm? [duplicate]

Possible Duplicate: UNDO LINUX Trash Command Hi, Is there any simple way to undo an rm command? The question is purely theoretical; I have NEVER deleted the log of a benchmark queue who ...
16
votes
4answers
2k views

Undo tar file extraction mess

I just untar'd an archive that produced a mess of files into my tidy directory. For example: user@comp:~/tidy$ tar xvf myarchive.tar file1 file2 dir1/ dir1/file1 dir1/subdir1/ dir1/subdir1/file1 ...
13
votes
4answers
7k views

How to undo an accidental drag and drop

This happens to me in Windows Explorer (and in Outlook): I mean to open a folder and manage to move the mouse and accidentally drag the whole folder ... somewhere. Usually I notice, but not always ...
12
votes
7answers
42k views

How can I undo or rollback an “apt-get upgrade” command on Ubuntu?

Is there a way in Ubuntu to rollback or undo the last upgrade after doing an apt-get upgrade if you don't like the results?
8
votes
2answers
668 views

How can I get Excel's undo/redo functionality to work in a more traditional *per window* manner (and not for the entire instance of Excel)?

This has been driving me crazy lately. I'm not used to having having a program have a global undo/redo functionality (as in when I undo something, it will undo the last action in any currently open ...
6
votes
2answers
1k views

How to determine exactly which file actions will be reverted when doing an Undo in Windows Explorer?

I had a brain fart and forgot which was the last file action I performed in Windows Explorer on XP SP3. Explorer offers an Undo but I am not 100% confident I remember what was the last operation I ...
6
votes
2answers
941 views

How do I make vim's undo buffer persistent across sessions?

When I make an edit to a file and then leave vim, I would like to be able to undo that change when I reopen it later.
5
votes
5answers
20k views

Photoshop enable Multiple undo?

I'm used to applications allowing you to perform multiple undos at once with Ctrl-Z. I've found that at least the default setting in photoshop is only a single undo. How do i change this (im a ...
5
votes
3answers
2k views

Disable Ctrl+Z shortcut or clear undo history in Windows Explorer?

Is there any way to disable the CTRL+Z (Undo) shortcut in Windows Explorer? Alternatively, is there a way to have Windows Explorer "forget" its undo history? The reason I ask is that you may have ...
4
votes
1answer
906 views

Cursor movement history in Vim

How can I restore cursor position in Vim as it was before scrolling, selecting or PgUp/PgDn? I'm tired of searching where I was before I scrolled up to look something at the top. Are there something ...
4
votes
2answers
1k views

Undo Ctrl-w in Vim

I'm a pro user of vim, however, somehow I don't seem to have definitively figured out the use of time based undo, or maybe I don't really like it. Is there a way I can undo a deletion caused by ...
4
votes
2answers
3k views

Apple Mail: Can't undo a delete?

Sometimes I can't, and sometimes I can. I want to be able to ⌘-Z after I accidentially delete a message. Or multiple messages. I want the Undo feature!
3
votes
2answers
10k views

is there an “undo” command on the unix comand line?

i get the feeling i'm gonna need it one day, like if i've just deleted something i shuldn't have, or renamed something and can't remember what it should be called etc.
3
votes
2answers
7k views

How to “undo” in command prompt?

If I have done some major change, for example renamed some files etc, how can I roll back the change? Is there a command that does this?
3
votes
2answers
1k views

Are there any extensions or tricks to reopen several closed tabs in Safari

I know Safari 5 (on Mac) allows undoing of a recently closed tab with Cmd-Z. However, that works only for the very last closed tab. That is, I cannot press Cmd-Z twice to reopen the last two closed ...
3
votes
1answer
176 views

How to ignore an autocmd in vim's undo history?

I have the following autocommand, which basically strips whitespace at the end of each line. Unfortunately, at each save, it inserts a step into the undo to jump to the beginning to the file, which is ...
2
votes
3answers
443 views

How to rollback the edit version in VIM?

I realized I had deleted something for mistake when I typed :wq,then how can I rollback to the pre-version?Thank you!
2
votes
1answer
946 views

How to roll back an update of a Firefox addon

Today I updated Adblock Plus addon from v1.2 to v1.3. After restarting Firefox, I realized that Adblock Plus no more blocks ads no matter if I activate or deactivate it. This seems to be a buggy ...
2
votes
2answers
42 views

Don't load undo file if it's too large in Vim 7.3+

I just copied a massive amount of text (on the order of millions of lines, I think) into a Vim register, opened a new file, pasted, and then proceeded to edit the new copy of the excerpt. Vim was ...
2
votes
2answers
157 views

Search in Vim's undo history

I have a "weird" usage pattern in vim that I often use - or have to use, depending on how you view it. What normally happens is this: I enter some text, do some editing, then remove a bit of text ...
2
votes
1answer
907 views

Is there any way to undo the changes of a file after it is saved

Is there any way to undo the changes of an exel file after it is saved i was workin on a file since yesterday and just before half hour i finish it then just before 5 minute the kids by mistake ...
2
votes
0answers
445 views

Viewing Windows Explorer’s complete Undo history

Background Windows Explorer maintains a list of file operations so that you can undo them (10 operations up to XP and 32 from Vista). You can see the last operation without performing it by opening ...
2
votes
0answers
98 views

System-Wide Undo Operations

Many, if not all applications have undo and redo operations available, but sometimes I want to undo or redo actions I have done outside a program that has affected it. For instance, say I have ...
1
vote
2answers
705 views

Google Chrome Undo Closed Tab Command

I would like to set up a button or the combination of button to undo recently closed tab in Google Chrome. I know on mac you can do this, but I want it on PC. Is there any way to make this option ...
1
vote
2answers
1k views

I am only able to undo once in Excel

I can only undo once in Excel and I have taken the steps to change the number in the Edit Registry and that did not fix the problem. Help! Very Annoying!!!
1
vote
1answer
759 views

How do you undo a Windows XP “Remove from this list”?

How do you undo a Windows XP "Remove from this list"?
1
vote
1answer
110 views

I know there's “undo” in vim. What about a “redo”?

I'm used to do ctrl+z in other editors. Sometimes when you press ctrl+z too much, you can use ctrl+y and it redo the last action. How do create this behavior in vim?
1
vote
3answers
1k views

Accidentally deleted a volume in Windows

I accidentally deleted a volume in Windows Disk Management. Is there an easy way to undo that action? Or do I have to use a file recovery tool?
1
vote
1answer
46 views

Searching all versions of a file in the undo tree in VIM

Is there an easier way to find a particular change in Vim's undo tree than just looking at random old versions of the file one at a time (either using vanilla VIM commands, Gundo, or another plugin)? ...
1
vote
1answer
1k views

Undo in Eclipse broken/buggy?

I haven't been able to find anything on the internet mentioning Eclipse's Undo functionality being broken/rubbish, so maybe it's just me. However, I thought I'd ask here and see if anyone else has ...
1
vote
1answer
753 views

svn revert changes in repository but not locally

What I am looking for here is how to manipulate Svn to effectively rollback my previous commit to the repository without affecting the changes I have made locally. Let's say I do this: $ svn ci ...
1
vote
2answers
2k views

Microsoft Excel Undo Only Works Twice

I am using Microsoft Excel 2003. A major irritant is that I am unable to use "undo" more than twice. Can you not use Undo more than 2 or 3 times or am I missing something? Are there any solutions to ...
1
vote
2answers
2k views

Is there any software that can monitor and undo all registry changes automatically?

Is there any software that can monitor and undo all registry changes automatically? It would be better if there is an option to monitor all changes or changes made by a specific process.
1
vote
1answer
407 views

Excel 2003 doesn't undo after saving

Every time I save changes on Excel, it doesn't allow me to undo the changes I did before saving. Is that the normal behaviour of Excel 2003 or I have some weird seetting done?
1
vote
1answer
92 views

Notepad++ Undo History wanted

I cannot seem to find a history in Notepad++ showing you all the actions you did. Sometimes you might not be sure anymore what the next Undo action would do. Does this feature really not exist or I ...
1
vote
1answer
52 views

Instead of “mv filename.sql newfolder” I did “mv filename.sql /newfolder” and wiped out a bunch of files?

Like I said, I moved a bunch of sql files but instead of moving them to a directory I seem to have renamed them and put them all in the root directory as one file named "newfolder" Can I undo this or ...
1
vote
1answer
184 views

Finder - undo close window for Mac OS X

I would like to know if there is any utility for Mac OS X (Mountain Lion) that can "undo" closing of Finder windows - much like tabs in a web browser have the "undo close tab" feature: My initial ...
1
vote
0answers
218 views

sublime text: Undoing an “undo followed by typing”?

Wondering if (perhaps via the console in Sublime?) it is possible to recover from a multi-line undo, followed by typing something (a paste, in my case)? IOW, I un"did" a bunch of stuff, meant to just ...
0
votes
5answers
795 views

Getting spurious undo (Ctrl+Z) sent randomly on a Dell laptop

For the past couple of weeks, my laptop has had a strange problem where it looks like Ctrl+Z is pressed, so I usually lose bits of text I've just typed. If I redo by pressing Ctrl+Shift+Z, the text ...
0
votes
3answers
816 views

Virtual disk with “undo support” for testing?

To speed up my testing, I need to prepare a disk with some files, do some operations on disk (modify files, create new files...), and return back to clean state (before doing operations) quickly. I ...
0
votes
2answers
175 views

How can I recover from mistaken 'rm *'?

I just typed rm * in the wrong directory by mistake. I had the wrong terminal window highlighted. What are my options?
0
votes
3answers
2k views

How to UNDO in Bash?

I accidentially copied my whole home directory into one of my subdirectories, causing me to exceed my disk quota on a server. Or does anyone know how to undo a command in general?
0
votes
2answers
340 views

Undo saved file after close

I've lost a very important file, because when I'm working on it, and I decide to test something there, I've deleted a very important part in it, and then my PC shuts down, so now I have missing a very ...
0
votes
2answers
4k views

undo moving of a folder in Windows [duplicate]

There are times when instead of scrolling vertically in file explorer I accidentally move a folder to within another folder. Great! It happens so quick I don't know which folder was moved and this ...
0
votes
2answers
1k views

Once you've enabled tethering on your iPhone, how do you undo this?

Sort of in response to this question, how do I remove the mobile config that gets installed on the iPhone? Are there any side-effects as a result of removing that configuration such as the data ...
0
votes
2answers
75 views

Is it possible to undo a :bdelete in Vim?

I've gotten used to Ctrl-Shift-T in Firefox to undo the closing of a tab, is it possible to get similar functionality in Vim? Googling didn't point me towards anything useful for this.
0
votes
0answers
7 views

Restoring files from Undo action win8

Instead of making Paste I did accidentally Undo (ctrl+z). Files didn't pass from the recycle bin, they just dissappeared. Is there a way to recover those. This always bothered me form windows.