浏览代码

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


正在加载...
取消
保存