diff options
author | zmode <kmhzsem@lavabit.com> | 2013-02-05 00:41:01 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-02-05 04:43:02 +0100 |
commit | 9104df3870f4c05bad5e6de1f2a27e8306e839c0 (patch) | |
tree | 1f3bc78417e241d6c2ab0372228466d5195cbd92 | |
parent | 4095f32154ed738c1b28bbe8e1554cf4aab9c233 (diff) | |
download | ranger-9104df3870f4c05bad5e6de1f2a27e8306e839c0.tar.gz |
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.
-rw-r--r-- | ranger/config/commands.py | 5 | ||||
-rw-r--r-- | 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 <F4> edit map <F5> copy map <F6> cut map <F7> console mkdir -map <F8> console delete seriously? +map <F8> console delete map <F10> exit # In case you work on a keyboard with dvorak layout |