Senegal joined with The Gambia to form the nominal confederation of Senegambia in 1982 .