about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-20 19:22:14 +0200
committerhut <hut@lavabit.com>2009-07-20 21:11:16 +0200
commitc50c22e436613a86a76028a01ab3924e4abf3f1e (patch)
tree737294ff402d3add30310cfde8b76bee6ed3cd05
parent079e301a629e076626361b0efb81839bc338737b (diff)
downloadranger-c50c22e436613a86a76028a01ab3924e4abf3f1e.tar.gz
[gR] goes to the directory where ranger is located
-rw-r--r--code/keys.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/code/keys.rb b/code/keys.rb
index 4d3cbbaa..d7d2545f 100644
--- a/code/keys.rb
+++ b/code/keys.rb
@@ -191,6 +191,11 @@ module Fm
 		when 'gs'
 			remember_dir
 			enter_dir('/srv')
+
+		when 'gR'
+			remember_dir
+			enter_dir( MYDIR )
+
 		## }}}
 
 		when 'G'