Update in-template function `update_url` to accept no arguments.

Update .gitignore to ignore Vim swap files.