John Beckett <[email protected]> [09-09-17 13:21]: > > meino.cramer wrote: > > I have a source file ("source" in opposite to "target") from > > which I yanked a visual marked part of a line. This yanked > > text is "123". > > > > Now I am going to the target text, which looks like this > > (only an example!) : > > > > A()=1 > > B()=1 > > C()=1 > > D()=1 > > E()=1 > > F()=1 > > Select text "123" and press y to yank it. > Put the cursor on ')' in the first line. > Press Ctrl-V (or Ctrl-Q if Ctrl-V is paste) and move the cursor > down to the last line. > Type I then Ctrl-R then " then Esc. > > See :help i_CTRL-R > > John > >
Hi John, thanks a lot! :) It works! ...but I dont know, why "p" (paste) does not work, since it pastes the same stuff as CTRL-R" does... What is the reason? mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
