Sofia is an old city, but it was not the continUous capital, as Veliko Tarnovo was capital 1185-1396.
Copenhagen and Oslo might be better candidates.
https://en.wikipedia.org/wiki/Turnovo
I still don't think Oslo is the best candidate, since both Bergen and Trondheim were capitals before. Oslo has been regarded as the capital city since the reign of Håkon V (1299-1319), who was the first king to reside permanently in the city.
https://en.wikipedia.org/wiki/Oslo
I am not convinced that Copenhagen is a good alternative, either.
According to this Danish site ot only became the king's residence in 1443.
Remember that Roskilde was an earlier capital of Denmark than Copenhagen.
http://da.wikipedia.org/wiki/København
Indeed, I am not trying to answer my own question, I just want to ask some questions. According to this site, London superseded Winchester as capital of England in the 12th century. Cound anyone be more precise on the date here?
http://no.wikipedia.org/wiki/London