What to do
In the Vector panel, select the three-dot menu at the end of the row and then select Locate feature.
The spatial view will zoom to the feature (vector line) and the line will be highlighted in yellow.
If you select multiple vectors, the Locate feature will change the spatial view scale to fit all the selected vectors.