diff options
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 408bbf3a..86d37915 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -141,6 +141,11 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): pagesize=self.ui.browser.hei) cwd.move(to=newpos) + def move_parent(self, n): + self.enter_dir('..') + self.move(down=n) + self.move(right=0) + def history_go(self, relative): """Move back and forth in the history""" self.env.history_go(relative) |