ソースを参照

ndiff: direction to get rid of vim warning

master
Arun Prakash Jana 5年前
コミット
c5bbbd852c
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: A75979F35C080412
1個のファイルの変更4行の追加0行の削除
  1. +4
    -0
      plugins/ndiff

+ 4
- 0
plugins/ndiff ファイルの表示

@@ -23,6 +23,10 @@ if [ -s $selection ]; then
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


読み込み中…
キャンセル
保存