Thursday, December 5, 2013

Re: "Diff with Vim" not work properly

I install gvim-7-4-110.exe, select 'Add Contextual Menu', but it not creae context menu.


2013/12/6 shada <laf163@gmail.com>
:version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 10 2013 14:38:33)


2013/12/5 Ben Fritz <fritzophrenic@gmail.com>
On Wednesday, December 4, 2013 11:09:25 PM UTC-6, shada wrote:
> hi all:
>
>    I has use gvim7.4 on win7x64 several years, "Diff with Vim" is frequently used function.  A few days ago, this not work properly. Today, i reinstall gvim7.4, the problem is still.Any idea?
>
>
> shada

What version of Vim? 7.4.103 fixes a problem with the diff expression in the default _vimrc you get from the installer. If you're using a 7.4 before patch 103 then "out of the box" Vim diff will not work, the diffexpr will fail and no changes will be shown in the diff.

You can either install a new version ( http://vim.wikia.com/wiki/Where_to_download_Vim ) or manually fix your diffexpr in your _vimrc. The fix is that you don't need an extra set of quote characters (") around the entire external diff command call. You only need them around the path to the diff utility and each file argument.

--
--
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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


--
--
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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: