From: Arun Prakash Jana Date: Sun, 17 Nov 2019 22:34:04 +0000 (+0530) Subject: Always open vimdiff at start of file X-Git-Tag: v2.8~65 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=52fad544fc25149551d3cf58f12307ea3bf6b394;p=nnn.git Always open vimdiff at start of file --- diff --git a/README.md b/README.md index 1408f382..2c1432b2 100644 --- a/README.md +++ b/README.md @@ -281,4 +281,4 @@ To lookup keyboard shortcuts at runtime, press ?. - [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 5a435e93..62c21d99 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"