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

Re: C++ code custom indentation and comments

Expand Messages
  • Benjamin Fritz
    ... It looks like for some reason you are searching for the text, g/^ s.... You don t want to be searching for it. You want to enter it as a command. This is
    Message 1 of 12 , May 29, 2008
    • 0 Attachment
      On 5/29/08, archwndas@... <archwndas@...> wrote:
      >
      > > g/^\s*\/\*/let &textwidth=indent('.')+68| norm gq%
      >
      >
      > and neither can I use this one.
      >
      > I get a message that
      > pattern not found: g/^\s*\/\*/let
      >
      > Any ideas?
      >
      >

      It looks like for some reason you are searching for the text, g/^\s....

      You don't want to be searching for it. You want to enter it as a
      command. This is the :g command. See :help :g

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.