* ZyX (zyx@gmail.com) wrote:
> Reply to message «Re: Extended version of file:line script»,
> sent 17:02:09 03 January 2011, Monday
> by Dr. David Alan Gilbert:
>
> > Why - what does that do for me?
> For you - nothing, at least now. It just makes your script i
Reply to message «Re: Extended version of file:line script»,
sent 17:02:09 03 January 2011, Monday
by Dr. David Alan Gilbert:
> * Christian Brabandt (cbli...@256bit.org) wrote:
> > Hi
> >
> > On Mo, 03 Jan 2011, Dr. David Alan Gilbert wrote:
> > &g
* Christian Brabandt (cbli...@256bit.org) wrote:
> Hi
>
> On Mo, 03 Jan 2011, Dr. David Alan Gilbert wrote:
> > if (names[3])
> > exe "normal " . names[3] . "|"
> > endif
>
> It probably doesn't matter in this case, but in general you should
* Yegappan Lakshmanan (yegapp...@gmail.com) wrote:
> Hi,
>
> >
> > " Lets try with name:line:column
> > let names = matchlist( file, '\(.*\):\(\d\+\):\(\d\+\)')
> > if len(names) == 0
> > " OK, lets try just name:line
> > let names = matchlist(
Hi
On Mo, 03 Jan 2011, Dr. David Alan Gilbert wrote:
> if (names[3])
> exe "normal " . names[3] . "|"
> endif
It probably doesn't matter in this case, but in general you should
always use :normal!
regards,
Christian
--
You received this
Hi,
>
> " Lets try with name:line:column
> let names = matchlist( file, '\(.*\):\(\d\+\):\(\d\+\)')
> if len(names) == 0
> " OK, lets try just name:line
> let names = matchlist( file, '\(.*\):\(\d\+\)')
> endif
>
The above code using mat
Hi Victor, (and vim list cc'd)
I posted a script similar to your file:line script to v...@vim.org
and Christian Brabandt was good enough to point me at your file:line plugin
here:
http://www.vim.org/scripts/script.php?script_id=2184
My script also deals with file:line: and file:line:column and