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

Re: Quickie to eliminate short lines or words.

Expand Messages
  • Francisco Dibar
    ... maybe this helps? ... -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For
    Message 1 of 2 , Mar 1, 2010
    • 0 Attachment
      On Mon, Mar 1, 2010 at 11:01 AM, John Culleton <john@...> wrote:
      > I have sketched out a few steps to create a concordance, an alphabetic list of
      > all the words in a book, one word per line, with dupes eliminated. Now I need
      > to eliminate all words of one or two characters.  Anyone have a quickie to
      > suggest?

      maybe this helps?

      :g/^\a\{1,2}$/d

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