From cfb9044407481344136f8fa4e3700fe3df7efa4c Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 17 Oct 2011 17:22:13 +0200 Subject: core.actions: added fm.select_file() --- ranger/core/actions.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 41176776..20b910da 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -331,6 +331,11 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): except IndexError: pass + def select_file(self, path): + path = path.strip() + if self.enter_dir(os.path.dirname(path)): + self.env.cwd.move_to_obj(path) + def history_go(self, relative): """Move back and forth in the history""" self.env.history_go(int(relative)) -- cgit 1.4.1-2-gfad0 his.form.submit();'> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/412render-float-decimal.mu
blob: 7aaf8b3a4ae612997873729e98885bf4d25e0784 (plain) (tree)