Friday, July 6, 2012

Re: How to move forward 'x' characters, crossing newlines

Hi Tim!

On Fr, 06 Jul 2012, Tim Chase wrote:

> On 07/06/12 15:51, Roy Fulbright wrote:
> > I'm tracking down an error message that says the error is at
> > character 2310 in my input JSON file, and I need to know how to
> > move the cursor forward 2310 positions including newlines. I'm
> > sure it's something simple, but I cannot find anything in help.
>
> For this particular use-case, I think you want the "go" command:
>
> :help go
>
> so you'd type
>
> 2310go

But that moves by bytes, not by characters.

regards,
Christian

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: