The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged


Does something like this exist? In Vim this is called an autocommand. The relevant help topic can be found by typing :h autocommand (sic!) An example code to put into vimrc: augroup typescript_save | au! autocmd BufWritePost *.ts execute '!tsc' expand("<afile>:p:S") augroup end

Top 50 recent answers are included