vim-auto-save
vim-auto-save copied to clipboard
Autosave only after the file is written
Is there any setting that allows me to make it so vim-auto-save only starts autosaves after the file is written (manually using :w)?
I want this kind of setting because when I enter a new file using vim, I don't want vim-auto-save to immediately save after opening, because I might want to not keep the new file.
My current settings for vim-auto-save is only let g:auto_save = 1
Software: Ubuntu, wsl2 nvim
FWIW there's another plugin that has this feature: https://github.com/Pocco81/AutoSave.nvim/blob/3d342d6fcebeede15b6511b13a38a522c6f33bf8/README.md#:~:text=won%27t%20be%20saved.-,exists,-%3A%20(Boolean)%20if%20true