💻 Software
How can I tell vim to compile a document on save?
Fresh5 days ago
Mar 15, 20265160 viewsConfidence Score0%
0%
Problem
I'd like that vim automatically compiles a lout document (similar to LaTeX) every time I save the document. Is there a possibility to add such functionality to save? (Preferably without using anything else than to save.)
Error Output
:w
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I tell vim to compile a document on save?
Low Risk
You can do that with an autocommand. I don't have one that loads automatically, but if I know I'm going to be going through the edit-compile-edit cycle for a while with one file, I'll execute something like this at the Vim command line: You can repl…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix