Comment #1 on issue 27 by [email protected]: set+= incorrectly adds
suboptions to 'clipboard' option
http://code.google.com/p/vim/issues/detail?id=27
The error is in the script. :set with += appends at end to a string option
or adds to a numeric option.
To append in front, use ^= instead, like this:
:set clipboard^=autoselect
On the command-line (and unless the second part of the line is bracketed by
an ifdef in a Makefile or similar) you could set both sub-options in one
command:
vim -N -u NONE -c 'set clipboard=autoselect,exclude:cons\\|linux'
See
:help :set+=
:help :set^=
Best regards,
Tony.
--
Schwiggle, n.:
The amusing rotation of one's bottom while sharpening a
pencil.
-- Rich Hall, "Sniglets"
--
You received this message from the "vim_dev" 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