diff options
author | hut <hut@lavabit.com> | 2009-07-10 16:07:22 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-07-10 16:07:22 +0200 |
commit | 9d2e42c30596cd3f39cd81e909a734fe2ed72a80 (patch) | |
tree | 8749e3ebb5ed76fbd0ace0187a3e07698f4189d9 | |
parent | 05cf5ffd7c7be1fcad626918ada4228bba7c90cd (diff) | |
download | ranger-9d2e42c30596cd3f39cd81e909a734fe2ed72a80.tar.gz |
fixed "dfd" combo
-rw-r--r-- | code/draw.rb | 2 | ||||
-rw-r--r-- | code/keys.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/code/draw.rb b/code/draw.rb index 1b40d47d..b81a7634 100644 --- a/code/draw.rb +++ b/code/draw.rb @@ -281,7 +281,7 @@ module Fm btm = lines - 1 case @buffer - when /^delete/, /^dd/ + when /^delete/, /^dd/, /^dfd/ puti btm, "#@buffer ".rjust(cols) puti btm, 'Are you serious? (' + Option.confirm_string + ')' diff --git a/code/keys.rb b/code/keys.rb index 1026017b..81876019 100644 --- a/code/keys.rb +++ b/code/keys.rb @@ -8,7 +8,6 @@ module Fm g y c Z cu ter ta S ?? ?g ?f ?m ?l ?c ?o ?z o m ` ' go - deleteI\ am ddI\ am um @@ -25,6 +24,7 @@ module Fm need_confirmation = %w[ delete dd + dfd ] @@ -125,7 +125,7 @@ module Fm @pwd.schedule when 'dfd' + Option.confirm_string - cf = currrentfile + cf = currentfile if cf and cf.exists? cf.delete! @pwd.schedule |