Hi,

[EMAIL PROTECTED] schrieb:
> 
> is it possible in a vimrc for comma separated
> option strings like this one below to break:
> 
> set
> dictionary=$VIM\SQLDict\BPMS_Stamm.txt,$VIM\SQLDict\BPMS_Mandant.txt,$VIM\SQL
> Dict\CBS_2005.txt,$VIM\SQLDict\ICCS_Net_Strommixer.txt,$VIM\SQLDict\DBS.txt,$
> VIM\SQLDict\cbsbestenergy.txt,$VIM\SQLDict\iccs_2005.txt... many other
> files..

if you want to break a long line you must write a backslash as the
first non-white-space character on every but the first line

  set dictionary=$VIM\SQLDict\BPMS_Stamm.txt,
                \$VIM\SQLDict\BPMS_Mandant.txt,
                \$VIM\SQLDict\CBS_2005.txt,
                \$VIM\SQLDict\ICCS_Net_Strommixer.txt,
                \$VIM\SQLDict\DBS.txt,
                \$VIM\SQLDict\cbsbestenergy.txt,
                \$VIM\SQLDict\iccs_2005.txt

Or you can use multiple set-commands, the first with a single "=" and
the rest with "+=":

  set dictionary=$VIM\SQLDict\BPMS_Stamm.txt
  set dictionary+=$VIM\SQLDict\BPMS_Mandant.txt
  set dictionary+=$VIM\SQLDict\CBS_2005.txt
  set dictionary+=$VIM\SQLDict\ICCS_Net_Strommixer.txt
  set dictionary+=$VIM\SQLDict\DBS.txt
  set dictionary+=$VIM\SQLDict\cbsbestenergy.txt
  set dictionary+=$VIM\SQLDict\iccs_2005.txt

If the option is a comma separated list VIM takes care of the commas.

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)

Reply via email to