diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2017-08-23 00:46:58 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2017-08-23 00:51:59 +0530 |
commit | 0b3bec329feeab2cec2738228a397de6ca46344b (patch) | |
tree | ccee0a4719aec0600b3436e48dbd3d498261d2a1 /config.h | |
parent | 5404cee9ee974020ca3203b874c91c286658f3c8 (diff) | |
download | nnn-0b3bec329feeab2cec2738228a397de6ca46344b.tar.gz |
Support in-place file rename
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -34,6 +34,7 @@ enum action { SEL_MTIME, SEL_REDRAW, SEL_COPY, + SEL_RENAME, SEL_HELP, SEL_RUN, SEL_RUNARG, @@ -140,6 +141,8 @@ static struct key bindings[] = { { KEY_F(2), SEL_REDRAW, "", "" }, /* Copy currently selected file path */ { CONTROL('K'), SEL_COPY, "", "" }, + /* Show rename prompt */ + { CONTROL('R'), SEL_RENAME, "", "" }, /* Show help */ { '?', SEL_HELP, "", "" }, /* Run command */ |