added samewave environment variables and removed auto write on insert exit from vim