Ver código fonte

ndiff: direction to get rid of vim warning

master
Arun Prakash Jana 5 anos atrás
pai
commit
c5bbbd852c
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: A75979F35C080412
1 arquivos alterados com 4 adições e 0 exclusões
  1. +4
    -0
      plugins/ndiff

+ 4
- 0
plugins/ndiff Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar