Friday, July 6, 2012

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

Hi Roy!

On Fr, 06 Jul 2012, 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.

If your 'whichwrap' setting contains '<,>' it shold be possible to
simply use Right with the count, e.g. 2310<Right> (or as ex command:
exe "norm! 2310\<Right>"
)

(provided your cursor is at line 1, column 1


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: