aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-08-23 00:46:58 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-08-23 00:51:59 +0530
commit0b3bec329feeab2cec2738228a397de6ca46344b (patch)
treeccee0a4719aec0600b3436e48dbd3d498261d2a1 /config.h
parent5404cee9ee974020ca3203b874c91c286658f3c8 (diff)
downloadnnn-0b3bec329feeab2cec2738228a397de6ca46344b.tar.gz
Support in-place file rename
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 275de03..31ea672 100644
--- a/config.h
+++ b/config.h
@@ -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 */