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

Re: How to beautify/tablize some C code

Expand Messages
  • Brett Stahlman
    ... You might have a look at Dr. Chip Campbell s Align plugin. It s very handy for aligning all sorts of things... Brett Stahlman ... -- You received this
    Message 1 of 4 , Nov 30, 2009
    • 0 Attachment
      On Nov 29, 11:38 pm, Robert Bu <robert...@...> wrote:
      > Hi,
      >
      > For example, I have some C code:
      > helloa;
      > helloab;
      > hellofgh;
      >
      > Is there a way to change the C code into the form, which looks like:
      > helloa      ;
      > helloab    ;
      > hellofgh   ;
      > Where the semicolon is at a "TAB" position. So that I can use
      > block-insert to insert some code, such as:
      > helloa     ("helloa    ");
      > helloab   ("helloab ");
      > hellofgh  ("hellofgh ");

      You might have a look at Dr. Chip Campbell's Align plugin. It's very
      handy for aligning all sorts of things...

      Brett Stahlman

      >
      > Thanks in advance.

      --
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
    • Robert Bu
      ... Wow, this plugin is powerful. Thanks. -- You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php
      Message 2 of 4 , Dec 2, 2009
      • 0 Attachment
        On 12月1日, 上午12时11分, Brett Stahlman <brettstahl...@...> wrote:
        > On Nov 29, 11:38 pm, Robert Bu <robert...@...> wrote:
        >
        >
        >
        > > Hi,
        >
        > > For example, I have some C code:
        > > helloa;
        > > helloab;
        > > hellofgh;
        >
        > > Is there a way to change the C code into the form, which looks like:
        > > helloa ;
        > > helloab ;
        > > hellofgh ;
        > > Where the semicolon is at a "TAB" position. So that I can use
        > > block-insert to insert some code, such as:
        > > helloa ("helloa ");
        > > helloab ("helloab ");
        > > hellofgh ("hellofgh ");
        >
        > You might have a look at Dr. Chip Campbell's Align plugin. It's very
        > handy for aligning all sorts of things...
        >
        > Brett Stahlman
        >

        Wow, this plugin is powerful. Thanks.

        --
        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.