On Fri, Oct 23, 2009 at 3:17 PM, Jabba Laci wrote:
>
> Hi,
>
> Do you know an easy way to insert a file _above_ the cursor?
>
> :r file   -> inserts below the cursor
>
> It would be logical to have :R to insert above.
>
> Actually, I want to improve the script below with the option xR.
>
> Thanks,
>
> Laszlo

":r file" or ":.r file" appends the contents of a file below the
current line.  ":.-1r file" appends the contents of a file below the
line above the current line.

~Matt

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

Reply via email to