Re: vim: bind ctrl+shift+aletter

2012-08-08 Thread Gary Johnson
On 2012-08-08, ping wrote: > guys: > is there a way to bind ctrl+shift+p differently that ctrl-p ? > google told me NO, since they are the same "key code". > just double check to experts here as last hope or any close workaround... You can find out for yourself by entering insert mode and typing C

Re: vim: session of "sessions"

2012-08-08 Thread ping
On 8/8/2012 5:13 AM, S. Cowles wrote: On Fri, 13 Jul 2012, ping wrote: here is another approach to this issue. 1) multiple virtual terminal sessions: i switched to tmux from screen/byobu last year. window navigation, for me, is a critical requirement and it is quite straightforward in tmux.

vim: bind ctrl+shift+aletter

2012-08-08 Thread ping
guys: is there a way to bind ctrl+shift+p differently that ctrl-p ? google told me NO, since they are the same "key code". just double check to experts here as last hope or any close workaround... -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the

Re: vim: input line history

2012-08-08 Thread ping
On 8/7/2012 5:35 PM, Ben Fritz wrote: I would guess that plugin uses the input() command to get strings from the user to search for. This is what is meant by "input line history". What did you think it meant? hi Ben: thanks for the response. I thought it meant : a list texts that I typed in w

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: vim: session of "sessions"

2012-08-08 Thread S. Cowles
On Fri, 13 Jul 2012, ping wrote: here is another approach to this issue. 1) multiple virtual terminal sessions: i switched to tmux from screen/byobu last year. window navigation, for me, is a critical requirement and it is quite straightforward in tmux. the windows i create in tmux have un

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