diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-18 04:04:04 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-18 04:04:04 +0530 |
commit | 52fad544fc25149551d3cf58f12307ea3bf6b394 (patch) | |
tree | 678f6f0eb3b8aa79cad36c10eb8801f3c978c40a | |
parent | 4ee9e2d129854b9062842644b2ca930b79f49c2b (diff) | |
download | nnn-52fad544fc25149551d3cf58f12307ea3bf6b394.tar.gz |
Always open vimdiff at start of file
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | plugins/ndiff | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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" |