Vim: Going to the nth character in a file
I ran into an error message today that only specified the character number in a configuration file without making any reference to the line number. Rather odd. In any case, since Vim (and my usual preference, GVim) is an excellent editor, I expected this to be a cinch. Unfortunately, a few minutes of head-scratching later, I was still quite clueless as to how to accomplish this seemingly routine task.
I do know that typing::1000
will move the cursor to the 1000th line in the file.
Tags:
- Read more about Vim: Going to the nth character in a file
- 3 comments
- Log in to post comments