diff options
author | hut <hut@lavabit.com> | 2009-07-28 00:26:14 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-07-28 00:26:14 +0200 |
commit | e9484808dd49ef087d30451ebe9382b3199b2ef6 (patch) | |
tree | adde40c0bfe1fa2427a2604a9601266014fd7400 | |
parent | ec5c0b09f6dfa2c2640ced1c0a59054a4a04bab1 (diff) | |
download | ranger-e9484808dd49ef087d30451ebe9382b3199b2ef6.tar.gz |
[O] is short for [touch]
-rw-r--r-- | code/keys.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/keys.rb b/code/keys.rb index 14f1bb5d..b76a9c7d 100644 --- a/code/keys.rb +++ b/code/keys.rb @@ -26,7 +26,7 @@ module Fm end end - when /^touch(.*)$/ + when /^(?:O|touch)(.*)$/ str = $1 if str =~ /^\s?(.*)(<cr>|<esc>)$/ @buffer.clear @@ -615,7 +615,7 @@ module Fm /:[^<]*/ /[F/!].*/ - /(r|ff|fr|cw|cm|co|cd|mv|gf).*/ + /(O|r|ff|fr|cw|cm|co|cd|mv|gf).*/ /g(r(e(p(.*)?)?)?)?/ /m(k(d(i(r(.*)?)?)?)?)?/ /t(o(u(c(h(.*)?)?)?)?)?/ |