checked that Strg-z is not used as hotkey for any other function under Setting/Hotkeys
made sure no system wide hotkey is put on Strg-z
What I’m trying to do
Sorry for be newbie question (just starting to use Obsidian, am immensly impressed):
Just accidentally selected my entire (long/important/unique) note with Strg-a, and with the stroke of one single key … all gone. Fortunately my sync setup saved me. But:
I see you guys taking about Strg-z/Ctrl-z here for using ‘undo’. But when I use that hotkey nothing gets undone, simply nothing is happening. Just double checked on a new note, reeboot etc.
Do I have to activate something to get Strg-z working? Any clue what I am doing wrong?
Ok STRG is Control for german keyboards right?
You can’t undo if you have closed the document.
If you have 0.11.9+ you can try to recover using the file recover plugins
Settings>File Recovery>View> Search the file you want to recover
Opening the help fault and trying Ctrl-z there-> it works!
So I went back into my own vault, disabled all core and community plugins, use ‘none’ as theme, checked I have not overwritten Ctrl-z in hotkeys:
→ still no reaction to Ctrl-z
Hello. A bit late to the party. I ended up encountering this issue and was not willing to redo the whole setup as it was a nightmare. I used your solution and instead reset the hotkeys.json file in the .obsidian folder. (Please ensure that you have backed up your hotkeys file in case you may want to do the whole setup again as this will format all your hotkey customisations)
Create a new vault
Manually copy the hotkeys file in the new vault in the .obsidian folder it is named hotkeys.json
Paste this file into your vaults .obsidian folder. The environment you want the redo to work in. (You’ll get a confirmation prompt of whether you want to replace the existing file. Click yes)
When you go back to your environment all the hotkeys will have been reset and you can use the Ctrl-z to undo and Ctrl-y to redo. You’ll have to customise your hotkeys again but you’ll avoid having to recreate the entire environment from scratch.