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 ~~ guiw~la > > Then, in insert mode, when you type ~~ (or whatever sequence > appeals to you), vim will shift temporarily into normal command > mode (via the ), then capitalize the current word, then > switch back to insert mode (with the 'a'

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 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 back to insert mode

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 ha

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

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

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 ~ gUB > > yet if I insert "This is a

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 answe

Re: capitalize the current word in insert mode

2012-08-08 Thread Paul Isambert
sinbad 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, perhaps: :inorem

capitalize the current word in insert mode

2012-08-07 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. D