aboutsummaryrefslogtreecommitdiffstats
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
parent4ee9e2d129854b9062842644b2ca930b79f49c2b (diff)
downloadnnn-52fad544fc25149551d3cf58f12307ea3bf6b394.tar.gz
Always open vimdiff at start of file
-rw-r--r--README.md2
-rwxr-xr-xplugins/ndiff2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1408f38..2c1432b 100644
--- a/README.md
+++ b/README.md
@@ -281,4 +281,4 @@ To lookup keyboard shortcuts at runtime, press <kbd>?</kbd>.
- [Sijmen J. Mulder](https://github.com/sjmulder)
- and other contributors
-Visit the to the [ToDo list](https://github.com/jarun/nnn/issues/337) to contribute.
+Visit the to the [ToDo list](https://github.com/jarun/nnn/issues/386) to contribute or see the current development status.
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"