thanks,you are right,it works.
do you have some suggestions for programmers who use vim?i am a fresh
man,i found it's marvelous!

On Nov 24, 2:22 am, Gary Johnson <[email protected]> wrote:
> On 2009-11-23, lirenlin wrote:
> > i decide to use vim to program.i found a plugin is great for C,that's
> > c.vim. but i have got a problem to type a command.
> > for example ,typing \if in normal mode will place a function at the
> > position of current point.
> > but it comes out to be: `/´ disappeared then 'i' ,change to the insert
> > mode then type in a char "f".
>
> > anybody have the same problem?
> > any help will be appreciated
>
> I don't know for sure since I don't use the c.vim plugin, but it
> sounds as though you're waiting too long between typing the '\' and
> the 'i'.  By default, after typing the first character of a mapping,
> you have one second to type the second character.  If you wait
> longer than one second, vim will try to execute the first character
> as one command and the second character as a separate command.  See
>
>     :help timeout
>
> for the details.
>
> The three solutions I can think of are:
>
> 1.  Type faster.
> 2.  Set 'timeoutlen' to something greater than one second.
> 3.  Change <Leader> to something easier for you to type.  See
>
>         :help mapleader
>
> HTH,
> Gary
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to