aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-18 04:04:04 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-18 04:04:04 +0530
commit52fad544fc25149551d3cf58f12307ea3bf6b394 (patch)
tree678f6f0eb3b8aa79cad36c10eb8801f3c978c40a /plugins
parent4ee9e2d129854b9062842644b2ca930b79f49c2b (diff)
downloadnnn-52fad544fc25149551d3cf58f12307ea3bf6b394.tar.gz
Always open vimdiff at start of file
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/ndiff2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ndiff b/plugins/ndiff
index 5a435e9..62c21d9 100755
--- a/plugins/ndiff
+++ b/plugins/ndiff
@@ -27,7 +27,7 @@ if [ -s $selection ]; then
# Vim: Warning: Input is not from a terminal
# cat $selection | xargs -0 -o vimdiff
- cat $selection | xargs -0 vimdiff
+ cat $selection | xargs -0 -o vimdiff +0
fi
else
echo "needs at least 2 files or directories selected for comparison"