Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
Midrash Vayisau (Hebrew: מדרש ויסעו) is one of the smaller midrashim. This small midrash, "the heroic legend of the sons of Jacob", is based on Genesis 35:5 and 36:6, and recounts the story of the wars of Jacob and his sons against the kings of the Amorites and against Esau and his army.
The beginning of its discussion of the Amorite war is as follows: "Our teachers said that although they did not pursue after them this time, yet seven years later all the kings of the Amorites gathered themselves together against the sons of Jacob."
That the legends contained in Vayisau are very old may be inferred from the Book of Jubilees and from the Testament of Judah; the midrash betrays its relationship to these old pseudepigraphical writings in many details. The war against the Amorites is treated at greater length in the Sefer ha-Yashar, pericope "Beshallach." The midrash itself is contained in Yalkut Shimoni, and is mentioned by Naḥmanides as "Sefer Milchamot Benei Ya'akov".