This runs run_tests.sh
after any file is saved, with the current filename as the only parameter:
:autocmd BufWritePost * !run_tests.sh <afile>
View the auto-command with:
:autocmd BufWritePost *
And remove all auto-commands from the previous with:
:autocmd! BufWritePost *
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…