From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: Mapping of keysequences...
Date: Sun, 01 Oct 2006 15:09:17 +0200

> Meino Christian Cramer wrote:
> > Hi,
> > 
> >  is it possible to map the sequence of
> > 
> >  <C-C><C-F>b
> >  
> >  to anything (and how?)?
> > 
> >  I tried as a first brute-force experiment
> > 
> >  noremap  <C-C><C-F>b echo "works"
> > 
> >  But it does not "works"... :)
> > 
> >  Any chance to do such a trick?
> > 
> >  Thanks a lot for any  help !
> >  keep hacking! 
> >  mcc
> > 
> 
> Mapping Ctrl-C works only when Vim is waiting for input (see "help 
> map_CTRL-C"); however, your brute-force method is in error. You should have 
> tried
> 
>       :noremap  <C-C><C-F>b  :echo "works"<CR>
> 
> with a colon to start an Ex-command and a carriage-return to end it.
> 
> 
> Best regards,
> Tony.
> 
Hi Tony,

 ah...oh! Yes! I should had know this...
 With the additional ":" and <CR> it works nicely!

 *THANKS*  :O)

 Keep hacking!
 mcc

Reply via email to