plugins/ndiff | 4 ++++ diff --git a/plugins/ndiff b/plugins/ndiff index 3e9d8a462424d05a71cc910c9b85271430dc35ec..5a435e93e01e51b06cfd0aa585b494d4c1d91b17 100755 --- a/plugins/ndiff +++ b/plugins/ndiff @@ -23,6 +23,10 @@ ls -A1 "$f2" > "$dir2" vimdiff "$dir1" "$dir2" rm "$dir1" "$dir2" else + # If xargs supports the -o option, use it to get rid of: + # Vim: Warning: Input is not from a terminal + # cat $selection | xargs -0 -o vimdiff + cat $selection | xargs -0 vimdiff fi else