Wrap list with tags

You can prepend or append text to a selection using visual blockmode in combination with I and A. Visual blockmode is envoked when you press ctrl-v. You can use any motion command (/,f,F,t,T,gg,G,h,j,k,l, etc.) to expand the selection. Pressing I will allow you to insert text at the beginning of each selected line. Note: only the first line will visually update until you press <esc> Pressing gv will reselect the last selection. $ will move the selection to the end the line. Then A will append text at the end of each line similar to how I works.

Further Reading

:h CTRL-V :h v_b_I :h v_b_A :h gv :h $

More Gifs