vim autopopulate file
- by David Oneill
Is it possible to have VIM auto populate a file based on the extension?
For example, when I open a new .sh file, I would like VIM to automatically type
#!/bin/bash
as the first line. (This example simplified down to the essentials)