capitalize the current word in insert mode

2012-08-08 Thread sinbad
how can one capitalize the current word or the word just before the current cursor position with out leaving the insert mode ? leaving insert mode and capitalize and come back to insert mode is becoming a tedious task for me ...:) tia -- You received this message from the vim_use maillist. Do

Re: capitalize the current word in insert mode

2012-08-08 Thread Paul Isambert
sinbad sinbad.sin...@gmail.com a écrit: how can one capitalize the current word or the word just before the current cursor position with out leaving the insert mode ? leaving insert mode and capitalize and come back to insert mode is becoming a tedious task for me ...:) A simple remap,

Re: bug in i_CTRL-\_CTRL-u? (was capitalize the current word in insert mode)

2012-08-08 Thread Tim Chase
On 08/08/12 01:05, sinbad wrote: how can one capitalize the current word or the word just before the current cursor position with out leaving the insert mode ? leaving insert mode and capitalize and come back to insert mode is becoming a tedious task for me ...:) In attempting to answer

Re: bug in i_CTRL-\_CTRL-u? (was capitalize the current word in insert mode)

2012-08-08 Thread Christian Brabandt
Hi Tim! On Mi, 08 Aug 2012, Tim Chase wrote: In attempting to answer sinbad's question, I figured it was the perfect opportunity for i_CTRL-\_CTRL-u which is described as like CTRL-O but don't move the cursor. So I created a mapping: :inoremap ~ c-bslashc-ogUB yet if I insert This is

Re: not a bug in i_CTRL-\_CTRL-o (was capitalize the current word in insert mode)

2012-08-08 Thread Tim Chase
On 08/08/12 06:19, Christian Brabandt wrote: On Mi, 08 Aug 2012, Tim Chase wrote: :inoremap ~ c-bslashc-ogUB 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

Re: not a bug in i_CTRL-\_CTRL-o (was capitalize the current word in insert mode)

2012-08-08 Thread Christian Brabandt
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-bslashc-ogUB 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

Re: capitalize the current word in insert mode

2012-08-08 Thread raoulmillais
On Wednesday, August 8, 2012 7:05:16 AM UTC+1, sinbad wrote: how can one capitalize the current word or the word just before the current cursor position with out leaving the insert mode ? leaving insert mode and capitalize and come back to insert mode is becoming a tedious task for me ...:)

Re: capitalize the current word in insert mode

2012-08-08 Thread Chris Jones
On Wed, Aug 08, 2012 at 02:05:16AM EDT, sinbad wrote: how can one capitalize the current word or the word just before the current cursor position with out leaving the insert mode ? leaving insert mode and capitalize and come back to insert mode is becoming a tedious task for me ...:) I

Re: capitalize the current word in insert mode

2012-08-08 Thread Kenneth Reid Beesley
On 8Aug2012, at 00:39, vim_use@googlegroups.com wrote: sinbad sinbad.sin...@gmail.com Aug 07 11:05PM -0700 how can one capitalize the current word or the word just before the current cursor position with out leaving the insert mode ? leaving insert mode and capitalize and come

Re: capitalize the current word in insert mode

2012-08-08 Thread Tim Chase
On 08/08/12 13:25, Kenneth Reid Beesley wrote: imap ~~ escguiw~la Then, in insert mode, when you type ~~ (or whatever sequence appeals to you), vim will shift temporarily into normal command mode (via the esc), then capitalize the current word, then switch back to insert mode (with the