about summary refs log tree commit diff stats
path: root/code/keys.rb
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-20 18:10:40 +0200
committerhut <hut@lavabit.com>2009-07-20 21:11:16 +0200
commit079e301a629e076626361b0efb81839bc338737b (patch)
treeafc9bf4392d7580cc610b8d8b34b70bc5ab46891 /code/keys.rb
parent1c5184528eb436e0775a59cdcd6aa64744f36c9a (diff)
downloadranger-079e301a629e076626361b0efb81839bc338737b.tar.gz
[ea] and [et] edit configuration files
Diffstat (limited to 'code/keys.rb')
-rw-r--r--code/keys.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/code/keys.rb b/code/keys.rb
index 504e7691..4d3cbbaa 100644
--- a/code/keys.rb
+++ b/code/keys.rb
@@ -437,6 +437,14 @@ module Fm
 			update_pointers
 #			@pwd.schedule
 
+		when 'ea'
+			edit File.join( MYDIR, 'data', 'apps.rb' )
+			reload_types
+
+		when 'et'
+			edit File.join( MYDIR, 'data', 'types.rb' )
+			reload_types
+
 		when 't!'
 			Option.confirm ^= true
 
@@ -538,7 +546,7 @@ module Fm
 
 		@@key_combinations = %w[
 			g y c Z cu
-			ter ta S
+			ter ta S e
 			?? ?g ?f ?m ?l ?c ?o ?z ?s
 			o m ` ' go