I've looked in:

        :help v_p
        :help registers

and I cannot find this behavior documented, and so I wonder if it's a bug.

If I visually select a block and hit "p" to paste from the unnamed 
buffer, the block I'm overwriting gets put into the unnamed buffer. 
There are two strange consequences of this:

1. If I need to make several replacements down my file, I have to do a 
new copy between each replacement (or use a new buffer).

2. If I select the same block over and over again, hitting "p" will 
toggle the block back and forth from its old state to its new state.

Is this the desired behavior? If so, shouldn't it be documented?

Also, is there any way to disable this behavior? I'm happier knowing 
that only "d", "c", "s", 'x", and "y" put things into the unnamed buffer.

Thanks --
Ted


-- 
Ted Pavlic <[email protected]>

   Please visit my ALS association page:
         http://web.alsa.org/goto/tedpavlic
   My family appreciates your support in the fight to defeat ALS.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to