Added autocommand to prevent undo on tmp files.