From 9104df3870f4c05bad5e6de1f2a27e8306e839c0 Mon Sep 17 00:00:00 2001 From: zmode Date: Tue, 5 Feb 2013 00:41:01 +0200 Subject: config/rc.conf: delete() does not accept arguments The delete() command as defined in rc.conf does not accept arguments, but asks for confirmation after enter is pressed. --- ranger/config/commands.py | 5 +---- ranger/config/rc.conf | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ranger/config/commands.py b/ranger/config/commands.py index f5f5b03d..fa4f1ec6 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -497,10 +497,7 @@ class delete(Command): use the "current file" (where the cursor is) When attempting to delete non-empty directories or multiple - marked files, it will require a confirmation: The last word in - the line has to start with a 'y'. This may look like: - :delete yes - :delete seriously? yeah! + marked files, it will require a confirmation. """ allow_abbrev = False diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf index 82dc1379..f4d2955d 100644 --- a/ranger/config/rc.conf +++ b/ranger/config/rc.conf @@ -206,7 +206,7 @@ map edit map copy map cut map console mkdir -map console delete seriously? +map console delete map exit # In case you work on a keyboard with dvorak layout -- cgit 1.4.1-2-gfad0