Tim Chase wrote:
> 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.
It's not the CTRL-\ CTRL-O that moves the cursor, it is the command that
follows that moves the cursor.
It would not be useful to disallow moving the cursor, e.g., CTRL-\ CTRL-O W
would not do anything.
The main difference with CTRL-O is when the cursor is past the end of
the line.
--
If you're sending someone Styrofoam, what do you pack it in?
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
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
Wednesday, January 9, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment