Ignore vim temporary files
Refactor views by extracting template