diff options
-rw-r--r-- | ranger/core/actions.py | 6 | ||||
-rw-r--r-- | ranger/defaults/keys.py | 2 |
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)) |