jjpro.net
replace a block of text in Vim
Select the block of text: 1. Position the cursor at the beginning of the text you want to replace 2. Press v to enter visual mode. (or upper case V to select whole lines, or Ctrl-v for a vertical …