Hi epanda!
On Fr, 19 Mär 2010, epanda wrote:
> Christian,
>
> In my lines format I always need the last column that has the number
>
> >> let lines=getline(a:firstline, a:lastline)
> >> map(lines, 'split(v:val)[a:colnr-1]')
>
> How can I replace a:colnr by the last fields number in the item of
> List lines passed into map func ?
use -1
Mit freundlichen Grüßen
Christian
--
Wenn einem Autor der Atem ausgeht, werden die Sätze nicht kürzer,
sondern länger.
-- John Ernst Steinbeck
--
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
To unsubscribe from this group, send email to
vim_use+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.