cm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agoVim is built differentlemmy.mlimagemessage-square96linkfedilinkarrow-up1575arrow-down115cross-posted to: programmerhumor@lemmy.ml
arrow-up1560arrow-down1imageVim is built differentlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agomessage-square96linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up15·edit-27 days ago😳 :w = write; or overwrite if the file already exists. Please don’t give blanket destructive advice.
minus-squareGonzako@lemmy.worldlinkfedilinkarrow-up3·7 days agoThis 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
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up3·7 days agoI 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/
😳
:w
= write; or overwrite if the file already exists.Please don’t give blanket destructive advice.
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
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/