plug away

Intermediário superior (B2) informal

To keep working hard at something even when it's difficult or takes a long time

"She plugged away at her thesis for three years before finally submitting it."