vim +n file.txt

Where n is the line number you want to begin on.

On Fri, Jun 12, 2009 at 1:30 PM, Teemu Likonen<[email protected]> wrote:
>
> On 2009-06-12 13:11 (-0400), Keith Kaple wrote:
>
>> I'm sure this has been asked before, but I don't see a command line
>> option for opening a file to a specific byte offset from the
>> beginning. Anyone have a solution for allowing this feature?
>
> To open file.txt and go to byte 74 type:
>
>    vim -c ':goto 74' file.txt
>
> >
>



-- 

-John

<>!*''# ^...@`$$-

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

Reply via email to