Prevent Vim’s autocmd from running on write just once

I guess you’re looking for :noa.

Usage:

:noa w

Excerpt from help:

:noautocmd :noa

To disable autocommands for just one command use the “:noautocmd” command
modifier. This will set ‘eventignore’ to “all” for the duration of the
following command. Example:

:noautocmd w fname.gz

This will write the file without triggering the autocommands defined by
the
gzip plugin.

Leave a Comment

404 Not Found

Not Found

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.