Browse Source
Use ^G to discard seleciton and exit in vim plugin mode
master
Arun Prakash Jana
6 years ago
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with
7 additions and
0 deletions
-
src/nnn.c
|
|
@@ -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"); |
|
|
|