How to check the difference with the origin file

2006-10-02 Thread Gregory SACRE
Hello Vimmers, I was wondering if there is a way to see the differences between the file you are modifying and its original version. For example: Let's say I'm editing a text file. I finished editing it and I'd like to see all the changes I've performed on it since I opened it (to write down

Re: How to check the difference with the origin file

2006-10-02 Thread Péter Zsoldos
Hi, Gregory SACRE wrote: I was wondering if there is a way to see the differences between the file you are modifying and its original version. Let's say I'm editing a text file. I finished editing it and I'd like to see all the changes I've performed on it since I opened it (to write down the

Re: How to check the difference with the origin file

2006-10-02 Thread Yakov Lerner
On 10/2/06, Gregory SACRE [EMAIL PROTECTED] wrote: I was wondering if there is a way to see the differences between the file you are modifying and its original version. The following nice thing comes from Donn Washburn: command! DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis |

Re: How to check the difference with the origin file

2006-10-02 Thread Tim Chase
I was wondering if there is a way to see the differences between the file you are modifying and its original version. If you haven't saved the file yet, you can compare the current buffer with the original file contents as described at http://tech.groups.yahoo.com/group/vim/message/72287 a

Re: How to check the difference with the origin file

2006-10-02 Thread Gregory SACRE
Thank you very much Yakov! It worked perfectly! On 10/2/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 10/2/06, Gregory SACRE [EMAIL PROTECTED] wrote: I was wondering if there is a way to see the differences between the file you are modifying and its original version. The following nice thing