I see its help.
If let g:surround_45 = "begin \r End",it can be :

Begin GT_SI                 <=#`DELAY 0 ; end

Not:
         begin
                    GT_SI                 <=#`DELAY 0 ;
         End
-----邮件原件-----
发件人: Alick Zhao [mailto:[email protected]] 
发送时间: 2012年11月1日 15:53
收件人: [email protected]
抄送: [email protected]
主题: Re: how use surround.vim

On Thu, 1 Nov 2012 11:00:38 +0800, 王军 wrote:
> Hi,everyone
> 
>          I use surround.vim.
> 
>          I want it can do like this:
> 
>         
> 
>          Old:
> 
>          GT_SI                 <=#`DELAY 0 ;
> 
>         
> 
>          New:
> 
>          begin
> 
>                    GT_SI                 <=#`DELAY 0 ;
> 
>          End
> 
>  
> 
>          How can I do?
> 
>          Thank you !
> 
>  

After looking through the doc of surround plugin (surround.txt), I think you 
might want to add the following line into your .vimrc:

  let g:surround_45 = "begin \r End"

Then use ySS- to achive what you want.

See :help surround.txt for more details.

Alick

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to