Enable undoing /replace