Wednesday, May 12, 2010

Re: how to compare two different regions in the same files?

vimdiff

On Wed, May 12, 2010 at 2:21 PM, stosss <stosss@gmail.com> wrote:
> On Wed, May 12, 2010 at 12:57 PM, yixiaodafang@gmail.com
> <yixiaodafang@gmail.com> wrote:
>> Hi,
>>
>> I want to compare the text in two different parts of the same file.
>> Instead of cut and paste to create two new files, are there any ways
>> to directly compare the two parts in vim? I am using vim 7.2.
>
> Have you tried :help :split
>
> --
> "If the American people ever allow private banks to control the issue
> of their money, first by inflation and then by deflation, the banks
> and corporations that will grow up around them, will deprive the
> people of their property until their children will wake up homeless on
> the continent their fathers conquered."
> -Thomas Jefferson
>
> This has been happening for the last 100 years.
>
> --
> 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
>

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