about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-02-16 01:59:49 +0100
committerhut <hut@lavabit.com>2010-03-09 14:40:08 +0100
commita32c6a1f417d249beaa02c416a790642bd94a96d (patch)
tree8ef137d0b81c4ee485533f91fa70d76303a0386e /ranger
parentcf81a11ada43078a68960f9118c5879f1acf8f61 (diff)
downloadranger-a32c6a1f417d249beaa02c416a790642bd94a96d.tar.gz
custom: "enter" = shortcut for "1l"
Diffstat (limited to 'ranger')
-rw-r--r--ranger/defaults/keys.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index 023f84a4..260ba568 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -201,6 +201,9 @@ def initialize_commands(command_list):
 		fm.move_right()
 		fm.move_pointer(relative=1)
 
+	# "enter" = shortcut for "1l"
+	bind(KEY_ENTER, ctrl('j'), fm.move_right(mode=1))
+
 	# ------------------------------------------------ system functions
 	_system_functions(command_list)
 	bind('ZZ', fm.exit())