tags:

views:

2117

answers:

3

I'm getting an error message from a python script "at position 21490"

how can I go to this position in Vim?

+17  A: 

:goto 21490 will take you to the 21490th byte in the buffer.

Brian Carper
A: 

One fast way to go to any line in your by typing :

line G

where 'line' is the line number (here 21490).

Taurus Olson
A: 

Even better:

21490|

Type this while in command mode. The last character is the ubiquitous Linux pipe.

maksim
unfortunately does no go through newline this way
mykhal
My bad. :goto 21490 seems to be the way to go then
maksim