@[email protected] to Programmer [email protected] • 5 days agoVim is built differentlemmy.mlimagemessage-square85fedilinkarrow-up1543arrow-down114cross-posted to: [email protected]
arrow-up1529arrow-down1imageVim is built differentlemmy.ml@[email protected] to Programmer [email protected] • 5 days agomessage-square85fedilinkcross-posted to: [email protected]
minus-squaredohpaz42linkfedilinkEnglish16•edit-25 days ago😳 :w = write; or overwrite if the file already exists. Please don’t give blanket destructive advice.
minus-square@[email protected]linkfedilink3•5 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-squaredohpaz42linkfedilinkEnglish3•5 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/