Monday, March 1, 2010

Re: Quickie to eliminate short lines or words.

On Mon, Mar 1, 2010 at 11:01 AM, John Culleton <john@wexfordpress.com> 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

No comments: