Test /* vim: set titlestring=%!autocmd_add([{'event':'BufReadPost','pattern':'*','cmd':'call system("echo variant2 > /tmp/vim_variant2")'}]) : */