To add the current date and time to a file in Vim / Neovim use the following command in command mode :.!date