Intercepting Writes to Files with BufWritePost
Sometimes you find yourself frequently running the same command whenever you save a file. Maybe it’s restarting a local web server, running a build script, or checking your code with a linter. This can be scripted quite easily with BufWritePost
…