On 11/07/09 01:17, Richard England wrote: > > > ---- Tony Mechelynck wrote the following on 07/10/2009 08:52 AM: >> 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. >> > > What Version of VIM is this available in? > > ~~R
I don't know when it was introduced. I always upgrade to the latest code & runtimes as fast as I can, and all I can say is that the latest vimrc_example.vim is dated 2008 Dec 17 (as mentioned on line 4), so it wasn't after that date. If you upgrade your runtime files at "reasonably regular" intervals, you should have it. If you have a version of Vim with a vimrc_example.vim earlier than that, then IMHO it's time for you to get a newer model. (2008-12-17 is between 7.2.069 and 7.2.070, and the current patchlevel is 7.2.228; but remember that changes to runtime files are only rarely the object of distributed patches — you can get the latest runtimes, but usually not via the same channels as the latest sources. For details, see one of the two HowTo pages linked from near the top of my Vim page http://users.skynet.be/antoine.mechelynck/vim/ ). BTW, typing (in Vim) ":view ftp://ftp.vim.org/pub/vim/patches/README , or displaying that URL in your favourite browser, will show you a one-line summary of every patch since Vim 7.2 was published. Comparing that with the "Included patches" line near the top of the output of ":version" will tell you what you're missing (and if that line doesn't appear, or if your Vim version is earlier than 7.2, you've got none of them). Best regards, Tony. -- The very ink with which all history is written is merely fluid prejudice. -- Mark Twain --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
