Bläddra i källkod

Always open vimdiff at start of file

master
Arun Prakash Jana 5 år sedan
förälder
incheckning
52fad544fc
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: A75979F35C080412
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. +1
    -1
      README.md
  2. +1
    -1
      plugins/ndiff

+ 1
- 1
README.md Visa fil

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

+ 1
- 1
plugins/ndiff Visa fil

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


Laddar…
Avbryt
Spara