That actually explains it.
I hope, I don't frustrate with my not so clever questions.
I did read the help-files though, but only now after re-reading them, I understand the mistakes I made..
Still a Vim-Newby..
Need to do some Vim-Golfing!
Thank you very much everyone for your kind help!
Asis
2011/7/16 Tim Chase <vim@tim.thechases.com>
On 07/16/2011 06:38 AM, Asis Hallab wrote:There are two issues:
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.
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-flagsThe help about the spaces is detailed both at
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=
:help :set-args
:help option-backslash
Hope that helps clear up some of the confusion.
-tim
--
Asis Hallab
Rothehausstr. 6 - 12
50823 Köln
Skype: asis.hallab.cgn
Fest (Köln) 42346046
Mobil (O2) 0176 63370211
Fax 01212 - 5 - 30697106
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