Simple AutoWrite Plugin compatible with most if not all vim distributions (Vim/Neovim)
This is a simple plug-in for Vim (and NeoVim) that enables autowriting of the buffer. It is useful for applications such as Markdown Previewers to automatically render the text in the preview window as you type.
use 'beauwilliams/autowrite.nvim'
Plug 'beauwilliams/autowrite.nvim'
Command | Description |
---|---|
:AutoWriteEnable |
Enable auto writing the file while inserting text into the current buffer. |
:AutoWriteDisable |
Disable auto writing the file while inserting text into the current buffer. |
:AutoWriteToggle |
Toggle AutoWrite on and off again. |
Option | Description |
---|---|
let AutoWriteOnInsert = 0 |
Disables auto writing of buffer while typing in insert mode. |
See :h autowrite
Submit a PR! 😃