summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py6
-rw-r--r--ranger/defaults/keys.py2
2 files changed, 6 insertions, 2 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index d01397a7..de4a8a5d 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -31,6 +31,10 @@ class Actions(EnvironmentAware, SettingsAware):
 	# --------------------------
 	# -- Backwards Compatibility
 	# --------------------------
+	# All methods defined here are just for backwards compatibility,
+	# allowing old configuration files to work with newer versions.
+	# You can delete them and they should change nothing if you use
+	# an up-to-date configuration file.
 
 	def dummy(self, *args, **keywords):
 		"""For backwards compatibility only."""
@@ -43,7 +47,7 @@ class Actions(EnvironmentAware, SettingsAware):
 
 	def move_right(self, narg=None):
 		"""Enter the current directory or execute the current file"""
-		self.move(right=1, narg=narg)
+		self.move(right=0, narg=narg)
 
 	def move_pointer(self, relative = 0, absolute = None, narg=None):
 		"""Move the pointer down by <relative> or to <absolute>"""
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index 7fbc7ce9..b407c00a 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -62,7 +62,7 @@ def initialize_commands(map):
 
 	map(KEY_DOWN, fm.move(down=1))
 	map(KEY_UP, fm.move(up=1))
-	map(KEY_RIGHT, KEY_ENTER, ctrl('j'), fm.move(right=1))
+	map(KEY_RIGHT, KEY_ENTER, ctrl('j'), fm.move(right=0))
 	map(KEY_LEFT, KEY_BACKSPACE, DEL, fm.move(left=1))
 	map(KEY_HOME, fm.move(to=0))
 	map(KEY_END, fm.move(to=-1))
f='#n156'>156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205