Explorar el Código

Use ^G to discard seleciton and exit in vim plugin mode

master
Arun Prakash Jana hace 6 años
padre
commit
d065666205
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: A75979F35C080412
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. +7
    -0
      src/nnn.c

+ 7
- 0
src/nnn.c Ver fichero

@@ -3343,6 +3343,13 @@ nochange:
break;

if (sel == SEL_CDQUIT) {
/* In vim picker mode, clear selection and exit */
if (cfg.picker) {
copybufpos = 0;
dentfree(dents);
return;
}

tmp = getenv("NNN_TMPFILE");
if (!tmp) {
printmsg("set NNN_TMPFILE");


Cargando…
Cancelar
Guardar