Thursday, August 27, 2015

Bug with i_CTRL-\_CTRL-O?

Based on my reading of

:help i_CTRL-\_CTRL-O

it should act like i_CTRL-O without moving the cursor. However, I
tried the following sequence and didn't see the behavior:

$ vim -u NONE some_prose.txt
" move to some arbitrary middle-of-the-document location
ihello<c-\><c-o>gUb

At this point, it takes a full second (not the instantaneous update
that would happen in normal mode; not the main problem, just odd;
happens to coincide with 'timeoutlen') before the text changes
visually to upper-case unless I hit another key. However the cursor
gets positioned at the *beginning* of "hello" rather than after
"hello" where it was before the command was issued.

So i_CTRL-\_CTRL-O appears to be the same behavior as i_CTRL-O
instead of preserving the cursor-location.

This is stock 7.4.1-488,576 that comes with Debian Stable, so if this
has already been encountered and fixed in a later version, sorry for
the repeat report. Otherwise, it sounds like something is amiss here.

-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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: