Hacker News new | ask | show | jobs
by jansan 1947 days ago
This feature is absolutely outstanding, I use it all the time. Unfortunately they buried it in the "File" menu recently. It was so much easier to reach when it was unter "Version Control".
2 comments

It's also accessible from context menu in the editor, I use it from there.
You can assign a custom shortcut to it via Settings > Keymap and then the action "Main Menu > File > Local History". I myself have assigned the shortcut control+shift+=
Thanks, did that. I decided on Alt+Z, because Ctrl+Z is Undo, so I though this makes sense.
And Ctrl+Alt+Z is revert changes. Either the whole (or selected) file, or the current block you're in. I use it all the time.