cm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agoVim is built differentlemmy.mlexternal-linkmessage-square82fedilinkarrow-up11arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up11arrow-down1external-linkVim is built differentlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agomessage-square82fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up0·edit-27 days ago😳 :w = write; or overwrite if the file already exists. Please don’t give blanket destructive advice.
minus-squareGonzako@lemmy.worldlinkfedilinkarrow-up0·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-up0·6 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/