aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-02 21:59:12 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-02 22:28:41 +0530
commit78115189034ac52eefa4e51931108b9904ea23fb (patch)
treecac355695084abd5d9f72cf282b71c2e63a59782 /src/nnn.h
parentff2bfff386850e1f9681194944b33eca945c3424 (diff)
downloadnnn-78115189034ac52eefa4e51931108b9904ea23fb.tar.gz
Add empty trash key T
Diffstat (limited to 'src/nnn.h')
-rw-r--r--src/nnn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nnn.h b/src/nnn.h
index a2a858b..b535639 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -80,6 +80,7 @@ enum action {
SEL_MV,
SEL_RMMUL,
SEL_RM,
+ SEL_RMTRASH,
SEL_OPENWITH,
SEL_NEW,
SEL_RENAME,
@@ -206,6 +207,8 @@ static struct key bindings[] = {
{ 'X', SEL_RMMUL },
/* Delete currently selected */
{ CONTROL('X'), SEL_RM },
+ /* Clear trash */
+ { 'T', SEL_RMTRASH },
/* Open in a custom application */
{ CONTROL('O'), SEL_OPENWITH },
/* Create a new file */