Re: not a bug in i_CTRL-\_CTRL-o (was "capitalize the current word in insert mode")
Christian Brabandt <cblists <at> 256bit.org>
2012-08-08 11:41:33 GMT
Hi Tim!
On Mi, 08 Aug 2012, Tim Chase wrote:
> On 08/08/12 06:19, Christian Brabandt wrote:
> > On Mi, 08 Aug 2012, Tim Chase wrote:
> >> :inoremap ~ <c-bslash><c-o>gUB
> >
> > This is a misunderstanding on your side. What i_Ctrl-\_Ctrl-O does (I
> > assume you mean 'o' and not 'u'?),
>
> Doh, yes...type it once wrong and copy/paste elsewhere and it just
> makes me look like an idiot :)
The fact, that I guessed your key correctly means, I suspected a
copy-paste error.
> > is it doesn't move the cursor when entering temporary normal mode
> > like Ctrl-O does (e.g. it steps the cursor back by one char, like
> > ESC does).
> >
> > But of course you can still move the cursor using a normal mode
> > command. And then the cursor will stay there.
>
> Ah, okay. I'd (mis)understood it as "I want to issue one
> normal-mode command and regardless of what happens, the cursor
> should remain where it is currently", not "don't move the cursor
> back one character"
Here is your chance to improve the documentation. I am sure Bram happily
(Continue reading)