mirror of
https://github.com/jarun/nnn.git
synced 2025-04-02 11:36:33 +00:00
Use ^G to discard seleciton and exit in vim plugin mode
This commit is contained in:
parent
afd8b64d56
commit
d065666205
1 changed files with 7 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue