Vim - substitute in multiple files

update.vim

%s/Telinov Dmitri/TD/g
write
quit
updatevim.sh
#!/bin/bash
for file in *.txt; do
  vim -e -s $file < update.vim
done