I have seen many vimrc's which have wildignore+=
and i don't know what it refers
compared to wildignore=
others like: clipboard=
and clipboard+=
some configs have also like clipboard-=
Can anyone tell me the difference?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this community:h :set+=
:se[t] {option}+={value} *:set+=*
Add the {value} to a number option, or append the
{value} to a string option. When the option is a
comma separated list, a comma is added, unless the
value was empty.
If the option is a list of flags, superfluous flags
are removed. When adding a flag that was already
present the option value doesn't change.
Also see |:set-args| above.
If you have default empty wildignore
then:
:set wildignore=*.o,*.obj
will set it to the *.o,*.obj
value:set wildignore+=*.exe
will set it to the *.o,*.obj,*.exe
value