News for hackers. Stuff that matters.
Re:Why is it so hard to see code from 5 minutes ago? by cribwi on Friday February 19, 2021 @05:07AM (#26191390)
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+=
Re:Why is it so hard to see code from 5 minutes ago? by jansan on Friday February 19, 2021 @07:45AM (#26192525)
Thanks, did that. I decided on Alt+Z, because Ctrl+Z is Undo, so I though this makes sense.
Re:Why is it so hard to see code from 5 minutes ago? by matsemann on Friday February 19, 2021 @10:19AM (#26194070)
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.