On Thu, Feb 12, 2009 at 06:37:50PM +0200, Agathoklis D. Hatzimanikas wrote:
> > function! Foo()
> > echo 'find '.line('').', add'.getline(line(''))
> > let g:boom=getline(line(''))
> > bd!
> > endfunc
>
> I have nothing to say about "if there is another way to do it", but
> if you want to make your function work, you just have to add a dot to
> the line('') function, where dot means current line.
argghh... i actually know this but didn't noticed the typo.
thanks for help!
marc
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---