commit 52fad544fc25149551d3cf58f12307ea3bf6b394 parent 4ee9e2d129854b9062842644b2ca930b79f49c2b Author: Arun Prakash Jana <engineerarun@gmail.com> Date: Mon, 18 Nov 2019 04:04:04 +0530 Always open vimdiff at start of file Diffstat:
| M | README.md | | | 2 | +- |
| M | plugins/ndiff | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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 @@ -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"