You can connect multiple vertices and edges with edges in one operation using the Connect Components tool. These components must be adjacent, meaning each vertex or edge must border an adjacent face as the last.
To connect arbitrary components
The selected components are connected by edges. Vertices are connected directly to connecting edges while edges are connected at their midpoint.