diff options
-rw-r--r-- | packages/finder/main.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/finder/main.py b/packages/finder/main.py index 264542d..0d99689 100644 --- a/packages/finder/main.py +++ b/packages/finder/main.py @@ -84,6 +84,11 @@ class FinderMain(): self.opener.open(os.path.join(path, item)) + def pager(self): + "Currently an alias to open()" + + return self.open() + def clear_list_buffer(self): self.list_buffer.set_document(Document(''), bypass_readonly=True) @@ -125,6 +130,10 @@ class FinderMain(): def _(event): self.open() + @self.keybindings.add("right", filter = has_focus(self.list_buffer)) + def _(event): + self.pager() + @self.keybindings.add("q", filter = has_focus(self.list_buffer)) def _(event): "Pressing 'q' on the selection buffer will exit the user interface" |