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

difficulty with substitution enclosing a space

Expand Messages
  • jkilbour@pol.net
    ... I receive error message E488: trailing characters
    Message 1 of 3 , Sep 2, 2005
      I wish to execute this:
      :16,21 s/% c/% errors=0 c/

      I receive error message
      E488: trailing characters
    • Aaron Griffin
      ... It works fine here, what version of vim do you have?
      Message 2 of 3 , Sep 2, 2005
        On 9/2/05, jkilbour@... <jkilbour@...> wrote:
        > I wish to execute this:
        > :16,21 s/% c/% errors=0 c/
        >
        > I receive error message
        > E488: trailing characters

        It works fine here, what version of vim do you have?
      • jkilbour@pol.net
        It works fine. I entered the command wrong on the command line but entered it correctly in my email. I had entered :s16,21 s/% c/% errors=0 c/ (adding an
        Message 3 of 3 , Sep 2, 2005
          It works fine. I entered the command wrong on the command line but entered
          it correctly in my email.
          I had entered ":s16,21 s/% c/% errors=0 c/" (adding an initial s)



          > I tried it (vim 6.3, Windows) and works like a charm (keyed in exactly
          > as you posted). Maybe you've got some mapping in the way?
          >
          > J
          >
          > ----------------------------------------
          > ViEmu - http://www.ngedit.com/viemu.html
          > vi/vim emulation for Visual Studio
          >
          > -----Mensaje original-----
          > De: jkilbour@... [mailto:jkilbour@...]
          > Enviado el: viernes, 02 de septiembre de 2005 19:59
          > Para: vim@...
          > Asunto: difficulty with substitution enclosing a space
          >
          > I wish to execute this:
          > :16,21 s/% c/% errors=0 c/
          >
          > I receive error message
          > E488: trailing characters
        Your message has been successfully submitted and would be delivered to recipients shortly.