Using vim 7.2 huge version on ubuntu 10.04
In the following vimscript:
"" begin code
for line in lines
execute "norm! i". line
execute 'norm! o'
endfor
"" end code
How may I check `line' to see if it is the last item in list
`lines'?
:) Probably
:h <something>
will tell me the story
cheers
--
Tim
tim at johnsons-web.com or akwebsoft.com
http://www.akwebsoft.com
--
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