Tip: #1196 - Replace text to register content with visual selection help
Created: April 4, 2006 13:00 Complexity: basic Author: Sply Version: 6.0 Karma: 26/14 Imported from: Tip#1196
After you have copied/yanked a text into register, you can paste it replacing previous text using visual selection.
For example, you can copy one line with 'yy', than point cursor to another line and replace it with previously copied line with 'Vp'
Or if you want cut one word and replace with them another word: cut the word using 'daw', move cursor onto another word and replace with 'vawp'