That's the default behavior. Nothing is written to disk unless you tell it to.
On Thu, Sep 9, 2021, 13:11 Julius Hamilton <[email protected]> wrote: > Hey, > > I was curious, is there any mode or plug-in in Vim where you could preview > the result of a command, for example a global search and replace function, > but by default the edit has not actually been written to file, and that > requires a specific command to actually save the previewed changed? > > Thank you, > Julius > > -- > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to the Google Groups > "vim_use" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vim_use/CAEsMKX1%2B3L1Zy0nTuwz%2BgjK%3DU0eQHMfz0hyTDA60ZYG10u1iuQ%40mail.gmail.com > <https://groups.google.com/d/msgid/vim_use/CAEsMKX1%2B3L1Zy0nTuwz%2BgjK%3DU0eQHMfz0hyTDA60ZYG10u1iuQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAPAv2u5f1A-yCv3vN%2B3DudZBRfRWM90J0a1YqPBqPMqanDyEDQ%40mail.gmail.com.
