Re: How to check the difference with the origin file
- Thank you very much Yakov!
It worked perfectly!
On 10/2/06, Yakov Lerner <iler.ml@...> wrote:
> On 10/2/06, Gregory SACRE <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.
> The following nice thing comes from Donn Washburn:
> command! DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis |
> wincmd p | diffthis
> (1) you puth the command above in your vimrc
> (2) When you want to see diffs with original (unsaved) file, you do
> If you never used vim-diff-mode, you might need to read about it first,
> or try it in separate window (vimdiff oldfile newfile)