אַבְרָ֖ם יָשַׁ֣ב בְּאֶֽרֶץ־כְּנָ֑עַן וְל֗וֹט יָשַׁב֙ בְּעָרֵ֣י הַכִּכָּ֔ר וַיֶּאֱהַ֖ל עַד־סְדֹֽם׃
Abram asentó en la tierra de Canaán, y Lot asentó en las ciudades de la llanura, y fué poniendo sus tiendas hasta Sodoma.
Rashi
ויאהל means he pitched tents for his shepherds and cattle עד סדום throughout the whole district extending AS FAR AS SODOM.
Chizkuni
ויאהל עד סדום, “he erected his tents as far as Sodom.” He did not take up residence inside the city of Sodom, because he knew that those people were evil and wicked. This is also why later on the Torah described Lot as sitting in the gateway to Sodom. (19,1) His house, though part of the wall of Sodom, had its entrance outside that wall.
Ramban
ABRAM DWELT IN THE LAND OF CANAAN. The meaning thereof is that he dwelt in the remainder of the entire land of Canaan; he did not stay in one place but abode in the entire land of Canaan while Lot settled in one place thereof, namely, the cities of the Plain, for the cities of the Plain are part of the land of Canaan. The meaning of [the plural “cities” in the expression, and Lot dwelt in] the cities of the Plain, is that he dwelt for a time in this city and a time in the other on account of his many cattle. This is the reason that the verse says, So Lot chose him all the plain of the Jordan;106Verse 11 here. he made a condition with Abram that he [Abram] should not come into the entire Plain.