밍기적거리다 is a variant spelling of the standard 밍그적거리다.
It means continuously making small, insignificant movements in place, like slipping and sliding around, tossing and turning, etc.
In your example, it means idling away one's time doing nothing.
"내가 했던 일이라곤 버스를 타고 몇 시간 동안이나 할 일 없이 시내를 돌다가 종로에 내려 교보문고로 가서는 할 일도 살 책도 없으면서 밍기적거리다 오는 것이 전부였다."
= All I ever did was taking a bus to wander around the city for hours, then getting off at Kyobo Books to whittle away my time there with nothing in particular to buy or to do, before heading back home.