Thanks a lot Suresh.
The only problem is that your suggestion does not work :'( .
Actually, it is the ALT-c mapping that cannot be set.
I tried it with CTRL-p and it works just fine.

" use Ctrl-p to enter column selection mode
imap <C-p> <c-o>g<c-h>

Albeit, it would be heaven, if I could set the ALT-c mapping. Besides, that's the windoze approach. :-)

Suresh Govindachar wrote:

Elias Chatzigeorgiou wrote: > I use the mswin behaviour and insert mode for editing > ("source mswin.vim" and "set insertmode" in _vimrc ) > > To enable column selection I use the sequence: > CTRL-O, g, CTRL-H and hold the SHIFT during the selection. > > Is it possible to simplify the above key sequence? Ideally I
 > would like the cream-for-vim equivalent (ALT-SHIFT
 > to enable column selection) - but I don't like ice-cream-s :-)

Try creating the following insert-mode map: :imap <A-c> <c-o>g<c-h>

 and then using the sequence <Alt-c> and hold SHIFT etc.  If you
 like it, place "imap <A-c> <c-o>g<c-h>" in your vimrc file.

 --Suresh




Reply via email to