Hi,

my apologies if this question is too silly, or already asked.
In that case, you can just point me to the documentation or example, and I
will keep investigating myself.

I use vim version 6.3.82 on RedHat.

Let's say I have a log file with this format

<date&time> | <filename>:<line> | <message>

For example

...
07 Feb 16:17:38| module1.py : 344    | message1
07 Feb 16:17:39| utils.py : 229    | message2
07 Feb 16:17:40| module2.py : 5002   | message
...


If I have cursor on one of those lines, I would like to know if there is a
way (some script or magic key combination) to open the file it is mentioned,
with the cursor directly to that line number.
i.e. if I have the cursor on the second line, I would like to open file
"utils.py" and jump directly to line 229

Is it possible?

Thanks a lot in advance.
Jose

-- 
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

Reply via email to