Search code examples
vim

Auto-save in VIM as you type


As the question title mentions. I'm looking to automatically get the file saved as I type in VIM (insert mode).

Is this possible? How to achieve it?


Solution

  • You can use AutoSave plugin to perform that:

    https://github.com/907th/vim-auto-save

    Please notice that AutoSave is disabled by default, run :AutoSaveToggle to enable/disable it.