On Tue, Dec 9, 2008 at 7:10 PM, Matt Wozniski wrote:
> On Tue, Dec 9, 2008 at 11:48 AM, Tony Mechelynck wrote:
>>
>> Hm. In my gvim 7.2.68, when 'whichwrap' includes "h,l", hitting the h
>> key repeatedly moves from the start of one line to the end of the
>> previous one, but even when it includes "<,>", it doesn't when using
>> <Left> (neither in Normal nor Insert modes). OTOH, with <Right> and > it
>> works.
>>
>> This looks like a bug to me. (Bram, what do you think?)
>>
>> I checked that gvim correctly sees my left-arrow key: in Insert mode,
>> Ctrl-K followed by left-arrow inserts <Left> into the buffer.
>
> 'whichwrap' needs to include "<,>" for arrow keys in normal mode, and
> also needs "[,]" for arrow keys in insert mode.  After doing :set
> ww+=<,>,[,]  it works fine for me, on vim 7.2.49 - are you sure that
> you don't have some other map that's interfering?

Oops, I see that you've figured it out.  GMail's threading is usually
pretty good, but the change of subject when you solved your problem
confused it, so my effort to read the full thread before replying
backfired...  :)

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to