CRT Z lost all my work

Hi,

I was working on a document, 3k words and I needed to undo something and pressed CRT Z and I cant believe it just undid the 3k words. I am in chock. The documento has 2k words from before, but now I lost my 3 days of work and I have a deadline.

It’s CTRL+Z for Undo and it shouldn’t remove 1k words unless you pasted 1k words from somewhere.
If you don’t close Obsidian, you can CTRL+Y back to Redo.

Obsidian’s Undo and Redo functionality is the same as everywhere else.

If you closed Obsidian, you lose the ability to redo in that document.

When doing important stuff, make sync and backup options a priority.

I reallly lost the work. It is not on the recovery tool either. I could never make obsidian commit automatically as I saw in a couple of videos that was possible to do. Is there anything I can do in that front to avoid what heppened today?

The built-in recovery should also work although I don’t use it. I have git.
The automatic sync with Obsidian Git needs some setup. Search the forum.

  • No, it’s not going to get back what you may have lost. You cannot have git history for a time period when the version control tool has not been installed and configured.

As for the CTRL+Z action causing all this, it doesn’t sound plausible so one needs to investigate: what plugins are being used, etc.
I don’t know anything about your exact case and can only say that you are responsible for what you are doing. Chalking this up to a simple CTRL+Z operation is not gonna explain what you may have experienced.

When you go to File Recovery, you have to search the filename first to see the list of snapshots. Did you do that?

I agree it sounds like something more is going on here.

Do you store your vault in a syncing cloud tool? What OS? It’s possible this is some sync conflict.

Maybe share your “Show debug info” here so we have more context to help you.

If you have sync enabled, you can do ‘Open version history for the current file’, to come back to a previous state.

Your work isn’t lost until you close Obsidian, because you can always go back with undo.

I agree, there’s no time to waste now if you’ve to write for a deadline.

  1. A tip, try to split your document into chapters on multiple notes instead to write everything in one note.

  2. Another thing you could try, is to go to settings>hotkeys and look for red shortcuts. As impossible it may sound, but maybe you assigned by mistake a shortcut to replace the default undo or some plugin did overwrite your undo shotcut.

In this case, delete the custom shotcut and revert to your default “undo” shortcut. Go back with undo now and hopefully your text will be restored. I had a similar case but not as severe as yours, mistakes happens.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.