On Fri, Oct 23, 2009 at 3:35 PM, Tim Chase wrote:
>
>
>> Do you know an easy way to insert a file _above_ the cursor?
>>
>> :r file   -> inserts below the cursor
>
> You can specify the location either absolutely or relatively with
> the usual Ex range modifiers.  You likely want
>
>   :-r file.txt
>
> (which is shorthand for ":.-1r file.txt" where the "." and the
> "1" are implied)
>
> You can read about them at
>
>   :help :range
>
> -tim

Ooh, I didn't know that you could use ":-" as a shorthand for ":.-1"
... nice to know!

~Matt

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

Reply via email to