Browse Source

Adapt picker mode to new selection changes

master
Arun Prakash Jana 5 years ago
parent
commit
130cea3598
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/nnn.c

+ 2
- 2
src/nnn.c View File

@@ -4389,8 +4389,8 @@ nochange:
{
/* If opened as vim plugin and Enter/^M pressed, pick */
if (cfg.picker && sel == SEL_GOIN) {
r = mkpath(path, dents[cur].name, newpath);
appendfpath(newpath, r);
dents[cur].flags |= FILE_SELECTED;
updateselbuf(path, newpath);
writesel(pselbuf, selbufpos - 1);
return;
}


Loading…
Cancel
Save