use nopaste in vim; template improvement