Use Vim batch mode

Use different temporary files and remove them.
Update Readme and use Markdown.
Looks like GitHub is having trouble displaying control characters. This line should look like this in Vim:
```
normal=$(echo "gg0$1" | sed s/^M/^V^M/)
```
It is used to replace normal linebreaks `^M` with literal linebreaks `^V^M`.