http://123maza.com/65/peepul667/
--
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
Dear Vimers,
In my .vimrc I am trying to set the selectmode option to key,
so I can use the Shift-Key with movement-keys to start the Select-Mode.
Unfortunately I seam to be unable to get it right:
Neither
set selectmode = ['key']
nor
set selectmode = [key]
nor
set selectmode = key
work.
Can
Reply to message «How to set selectmode?»,
sent 13:57:11 16 July 2011, Saturday
by Asis Hallab:
Correct syntax is explained in :h :set.
Original message:
Dear Vimers,
In my .vimrc I am trying to set the selectmode option to key,
so I can use the Shift-Key with movement-keys to start
Dear Vimers,
according to the kind hints of Tim Chase and Zyx,
I tried the following in my .vimrc:
set selectmode += key
set keymodel += startsel
Still pressing S-Left in normal mode does not start select-mode.
Though, when I start select-mode with gh, I can extend the selection using
S-Left
/7/16
Subject: Re: How to set selectmode?
To: vim_use@googlegroups.com
Dear Vimers,
according to the kind hints of Tim Chase and Zyx,
I tried the following in my .vimrc:
set selectmode += key
set keymodel += startsel
Still pressing S-Left in normal mode does not start select-mode.
Though, when
Reply to message «Re: How to set selectmode?»,
sent 15:22:20 16 July 2011, Saturday
by Asis Hallab:
Unfortunately the given hints did
not solve my problem.
It solves the problem, just read help carefully. It states explicitely where
spaces are allowed. There are also enough examples
[reordering to trimmed inline quoting rather than top-quoting.
Please do likewise and observe the list guidelines as detailed at
the bottom of every list-post]
On 07/16/2011 06:22 AM, Asis Hallab wrote:
Have you tried just using
:set selectmode=key
or
:set selectmode+=key
according
On 07/16/2011 06:38 AM, Asis Hallab wrote:
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
Great!
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!