]> Sergey Matveev's repositories - nnn.git/commitdiff
Always open vimdiff at start of file
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 17 Nov 2019 22:34:04 +0000 (04:04 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 17 Nov 2019 22:34:04 +0000 (04:04 +0530)
README.md
plugins/ndiff

index 1408f38256634bcc5a5682fdece06c82fb94a34e..2c1432b25aa08b3976f091a13cb893656dc65c19 100644 (file)
--- 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.
index 5a435e93e01e51b06cfd0aa585b494d4c1d91b17..62c21d996ed8f222b786615522d4ae546e86c37f 100755 (executable)
@@ -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"