about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-28 00:26:14 +0200
committerhut <hut@lavabit.com>2009-07-28 00:26:14 +0200
commite9484808dd49ef087d30451ebe9382b3199b2ef6 (patch)
treeadde40c0bfe1fa2427a2604a9601266014fd7400
parentec5c0b09f6dfa2c2640ced1c0a59054a4a04bab1 (diff)
downloadranger-e9484808dd49ef087d30451ebe9382b3199b2ef6.tar.gz
[O] is short for [touch]
-rw-r--r--code/keys.rb4
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(.*)?)?)?)?)?/