One of my vim usages is to do sketches of topologies in networking I've found the script Draw it really really useful for that So I can draw things like this by pasting these boxes
+------+
|ROUTER|
+------+
| R |
+------+
+------+ +------+
|ROUTER| |ROUTER|
+------+---------------------------------+------+
| R1 | | R2 |
+------+ +------+
| |
| |
| |
| |
| +------+ |
| |ROUTER| |
| +------+ |
+---------------| R3 |----------------+
+------+
The issue is if I want to add additional boxes (apart of many other things) right after this , visual block mode yanking pasting becomes messy Say that I want to add a router in between R1 and R3 if I locate the cursor in 32,36 and paste it , it will shift all the characters written till the end of the lines
+------+ +------+ +------+
|ROUTER| |ROUTER| |ROUTER|
+------+-------------+------+--------------------+------+
| R1 | | R | | R2 |
+------+ +------+ +------+
| |
| |
| |
| |
| +------+ |
| |ROUTER| |
| +------+ |
+---------------| R3 |----------------+
+------+
My expected result was:
+------+ +------+ +------+
|ROUTER| |ROUTER| |ROUTER|
+------+-------------+------+------------+------+
| R1 | | R | | R2 |
+------+ +------+ +------+
| |
| |
| |
| |
| +------+ |
| |ROUTER| |
| +------+ |
+---------------| R3 |----------------+
+------+
Mainly a paste and replace kind of thing similar to what is R
for text but for pasting
Do you figure a work around for this?
Thanks