In America they just become removed
- 0 Posts
- 4 Comments
Joined 3 years ago
Cake day: March 25th, 2022
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
poo_22@lemmygrad.mlto DeGoogle Yourself@lemmy.ml•Mozilla opposes Web Integrity API proposal3·2 years agoAMP links serve other people’s content from google’s servers meaning you never leave their domain.
poo_22@lemmygrad.mlto US News@lemmygrad.ml•An Attorney Is Going Viral for Exposing Pastors and Republicans Who Are Grooming KidsEnglish5·2 years ago@jrehwald15 is based as hell.
Yesterday I was writing a git commit message. I have my terminal configured to use vim to do this. I wrote half of a lengthy explanation with a very long chain of thought and paused for a second to proofread. Then I turned around and accidentally mashed a button which pasted my clipboard all over my nice message. I was like fuck I’ll just undo, but I guess I hit more than one key because after hitting undo i was left with a blank message.
I thought I had to start writing from scratch and then remembered that vim has time travel. I’m not joking. You just say :earlier 2m and it goes back to the state two minutes ago. But here’s the thing it actually has branched history, kind of like git. If you undo and then make some modifications you have made an alternate branch in the history. I hit g- (or g+ I forget) and got my message back.
Having flipping time travel with every possible history is an absolutely batshit insane thing to implement into a “simple” editor, and I seldom use this feature, but it actually saved my ass and I’m glad people like Bram spent what was probably an eternity on implementing stuff like that.