Hi,I hope have one plugn to solve this problem!

2009-04-21 Thread SamPeng
l have same function redo input.I want don't to do it.
like this:
I have one diagnosticate
if ($a=1)
{
echo $a;
}
how can i do for only input any word(eg. input '\if' )can to complete like
this diagnosticate or loop or code;

--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Hi,I hope have one plugn to solve this problem!

2009-04-22 Thread 张书瀚
SnipMate
http://www.vim.org/scripts/script.php?script_id=2540

It is the best one ^_^

On Wed, Apr 22, 2009 at 2:01 PM, SamPeng  wrote:

> l have same function redo input.I want don't to do it.
> like this:
> I have one diagnosticate
> if ($a=1)
> {
> echo $a;
> }
> how can i do for only input any word(eg. input '\if' )can to complete like
> this diagnosticate or loop or code;
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Hi,I hope have one plugn to solve this problem!

2009-04-22 Thread Ben Fritz



On Apr 22, 1:01 am, SamPeng  wrote:
> l have same function redo input.I want don't to do it.
> like this:
> I have one diagnosticate
> if ($a=1)
> {
> echo $a;}
>
> how can i do for only input any word(eg. input '\if' )can to complete like
> this diagnosticate or loop or code;

If you don't need to do this all that often, or don't feel like
downloading a plugin, this is a perfect task for macro recording.

:help complex-repeat
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Hi,I hope have one plugn to solve this problem!

2009-04-23 Thread SamPeng
thanks for your help!

2009/4/22 Ben Fritz 

>
>
>
> On Apr 22, 1:01 am, SamPeng  wrote:
> > l have same function redo input.I want don't to do it.
> > like this:
> > I have one diagnosticate
> > if ($a=1)
> > {
> > echo $a;}
> >
> > how can i do for only input any word(eg. input '\if' )can to complete
> like
> > this diagnosticate or loop or code;
>
> If you don't need to do this all that often, or don't feel like
> downloading a plugin, this is a perfect task for macro recording.
>
> :help complex-repeat
> >
>

--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---