Is there a way to automatically add a title when I open a new file in vim? My goal is to automatically add the shebang "#! /usr/bin/python" when I open a new file using the command "vim test.py" . If the file is already present, the header should not be inserted.
python command-line vim
Chander shivdasani
source share