Browse Source

On entry delete move to previous file

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

+ 4
- 0
src/nnn.c View File

@@ -3199,7 +3199,11 @@ nochange:
mkpath(path, dents[cur].name, newpath, PATH_MAX);
spawn("rm", rm_opts, newpath, NULL, F_NORMAL | F_SIGINT);

if (cur && access(newpath, F_OK) == -1)
--cur;

copycurname();

if (cfg.filtermode)
presel = FILTER;
goto begin;


Loading…
Cancel
Save