Loading ...
Sorry, an error occurred while loading the content.

Re: 答复: 答复: how use surround.vim

Expand Messages
  • Alick Zhao
    Bring the conversation back to the list. (Sorry for my failing to cc the list in the previous mail.) ... Seems we cannot delete the pair in one step with
    Message 1 of 1 , Nov 1, 2012
    • 0 Attachment
      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@...]
      > 发送时间: 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
    Your message has been successfully submitted and would be delivered to recipients shortly.