Wednesday, January 9, 2013

Re: Bug in i_CTRL-\_CTRL-O [was "Please explain Regex"]

On 01/09/13 07:06, Kazuo Teramoto wrote:
> On 09 Jan 2013 at 10:59:36 -0200, Tim Chase wrote:
>> As an aside, I don't know if it's a bug, but i_CTRL-\_CTRL-o is
>> supposed to act like i_CTRL-o without moving the cursor, but in at
>> least my stock Debian 7.2.445, doing
>>
>> {ctrl-\}{ctrl-o}yis
>>
>> in the middle of a sentence moves the cursor to the beginning of the
>> sentence. Can somebody running a more recent version test this for
>> me?
>
> The same for me, i.e., {ctrl-\}{ctrl-o}yis move the cursor to the same
> place yis moves the cursor.
>
> I have vim 7.3.754 from Arch Linux.

Bram, et al.,

According to ":help i_CTRL-\_CTRL-O", it should not move the cursor.
However, as demonstrated above using

^\^Oyis

the cursor does end up moving, even in fairly recent builds as
confirmed by Kazuo.

-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: