Explorar el Código

Always open vimdiff at start of file

master
Arun Prakash Jana hace 5 años
padre
commit
52fad544fc
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: A75979F35C080412
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      README.md
  2. +1
    -1
      plugins/ndiff

+ 1
- 1
README.md Ver fichero

@@ -281,4 +281,4 @@ To lookup keyboard shortcuts at runtime, press <kbd>?</kbd>.
- [Sijmen J. Mulder](https://github.com/sjmulder) - [Sijmen J. Mulder](https://github.com/sjmulder)
- and other contributors - 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 Ver fichero

@@ -27,7 +27,7 @@ if [ -s $selection ]; then
# Vim: Warning: Input is not from a terminal # Vim: Warning: Input is not from a terminal
# cat $selection | xargs -0 -o vimdiff # cat $selection | xargs -0 -o vimdiff


cat $selection | xargs -0 vimdiff
cat $selection | xargs -0 -o vimdiff +0
fi fi
else else
echo "needs at least 2 files or directories selected for comparison" echo "needs at least 2 files or directories selected for comparison"


Cargando…
Cancelar
Guardar