> I do not understand, why the arguments have to be passed
> without the "-char surrounding them, though Vim-Documentation
> states selectmode and keymodel are comma separated lists of
> strings.
There are two issues:
quotes: vim treats the things that follow the assignment as a
literal terminated by a newline or space, so the quotes aren't
needed. This manifests itself below where it tries to treat the
space as a separator for a subsequent option.
manipulating a list of options: it's best to add/remove the
options individually using the "+=", "^=" and "-=" operators for
the option.
:help add-option-flags
> Also putting
>
> set selectmode = key
> set keymodel = startsel
>
> in my .vimrc (Note the whitespaces surrounding the equality-signs.), yields
> an error, when starting vim:
> "
> Error detected while processing .vimrc:
> line 28:
> E518: Unknown option: startsel key= key= key= key=
The help about the spaces is detailed both at
:help :set-args
:help option-backslash
Hope that helps clear up some of the confusion.
-tim
--
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
No comments:
Post a Comment