546
you are viewing a single comment's thread
view the rest of the comments
[-] dohpaz42@lemmy.world 16 points 2 days ago* (last edited 2 days ago)

😳

:w = write; or overwrite if the file already exists.

Please don’t give blanket destructive advice.

[-] Gonzako@lemmy.world 3 points 2 days ago

This one's fine. They'll then learn the next vim button, u for undo. I believe it's saved between boots of vim? It may be my kickstarted neovim config tho

[-] dohpaz42@lemmy.world 3 points 2 days ago

I would say not in all installations, no. And honestly, it’s not worth trusting.

And for those who are unfamiliar, and want to set it up: https://blog.openreplay.com/persistent-undo-vim-save-restore-history/

this post was submitted on 09 Jun 2025
546 points (97.4% liked)

Programmer Humor

24079 readers
998 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS