Always open vimdiff at start of file

This commit is contained in:
Arun Prakash Jana 2019-11-18 04:04:04 +05:30
parent 4ee9e2d129
commit 52fad544fc
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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"