558
you are viewing a single comment's thread
view the rest of the comments
[-] dohpaz42@lemmy.world 15 points 1 month ago* (last edited 1 month ago)

😳

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

Please don’t give blanket destructive advice.

[-] Gonzako@lemmy.world 3 points 1 month 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 1 month 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
558 points (100.0% liked)

Programmer Humor

25019 readers
1330 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