Bring the conversation back to the list.
(Sorry for my failing to cc the list in the previous mail.)
On Thu, 1 Nov 2012 17:24:53 +0800, 王军 wrote:
> But how delete begin-end when use ySS- ?
Seems we cannot delete the pair in one step with surround.
(Please point it out if I am wrong.)
However you can just use dd twice instead in this particular situation.
>
> -----邮件原件-----
> 发件人: Alick Zhao [mailto:alick9188@gmail.com]
> 发送时间: 2012年11月1日 17:19
> 收件人: 王军
> 主题: Re: 答复: how use surround.vim
>
> On Thu, 1 Nov 2012 16:22:58 +0800, 王军 wrote:
>> 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
>
> I see letter case mismatch in your reply.
> What was your command? You need captical S (Shift+S) to make the wrap operation linewise, instead of character-wise.
>
>> 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
No comments:
Post a Comment