Re: vimdiff exit when files are identical?

2018-05-28 Thread Tim Chase
On 2018-05-28 18:11, M Kelly wrote:
> Is there a variable for how many diffs are present after starting
> vimdiff ? I'd like to exit immediately with status of 0 if there
> are no differences between the files I pass into vimdiff.

Not that I know of off the top of my head (though if there is, I'd be
glad to stash that new knowledge away), but you can do a quick check
before invocation:

  diff -q file1 file2 >/dev/null && echo same || vimdiff file1 file2

which could be wrapped in an alias/function to simplify the
invocation.

-tim




-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


vimdiff exit when files are identical?

2018-05-28 Thread M Kelly
Hi,
Is there a variable for how many diffs are present after starting vimdiff ?
I'd like to exit immediately with status of 0 if there are no differences 
between the files I pass into vimdiff.
thx for any suggestions,
-mark

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Drag and drop seems not working.

2018-05-28 Thread Ni Va
Le lundi 28 mai 2018 19:08:28 UTC+2, Bram Moolenaar a écrit :
> > On Windows 10, drag and drop a file from desktop to gvim 8.1.26 x86 seems 
> > to not working.
> 
> Works fine for me. Please check your installation.
> 
> -- 
> Bad fashion can discourage normal people from interacting with the engineer
> and talking about the cute things their children do.
>   (Scott Adams - The Dilbert principle)
> 
>  /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
> ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> \\\  an exciting new programming language -- http://www.Zimbu.org///
>  \\\help me help AIDS victims -- http://ICCF-Holland.org///

Maybe was mismatched files between x86 and x64 own gvim 8.1.26 that caused 
error.
Because after unzipped my archive it works.

Thank you !

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Drag and drop seems not working.

2018-05-28 Thread Bram Moolenaar


> On Windows 10, drag and drop a file from desktop to gvim 8.1.26 x86 seems to 
> not working.

Works fine for me. Please check your installation.

-- 
Bad fashion can discourage normal people from interacting with the engineer
and talking about the cute things their children do.
(Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Drag and drop seems not working.

2018-05-28 Thread Ni Va
Hi all,

On Windows 10, drag and drop a file from desktop to gvim 8.1.26 x86 seems to 
not working.

Thank you in advance.
NiVa

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.