On 08/07/09 05:36, John Beckett wrote:
>
> Rich Healey wrote:
>> Basically what I'm looking for is to have vim diff whatever's
>> in my current buffer against what was in there when I opened
>> it.
>
> I use :DiffOrig which is created by copying the two lines given
> in help to your vimrc file. :help :DiffOrig
>
> John

You also get that command pre-defined, together with a lot of other 
useful settings, by sourcing the vimrc_example.vim, for instance by 
writing into your vimrc

either
        source $VIMRUNTIME/vimrc_example.vim
or
        runtime vimrc_example.vim
but not both.


Best regards,
Tony.
-- 
Howe's Law:
        Everyone has a scheme that will not work.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to