From 06a232a06a394298fa42b134d7ba8283630d6747 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 29 Mar 2010 06:36:36 +0200 Subject: defaults.commands: fixed find command you can now press "n" and get to the next item as if you were searching with the SearchConsole after an unsuccessful find. --- ranger/defaults/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py index 2443c0d5..a2e96afb 100644 --- a/ranger/defaults/commands.py +++ b/ranger/defaults/commands.py @@ -199,6 +199,7 @@ class find(Command): search = parse(self.line).rest(1) search = re.escape(search) self.fm.env.last_search = re.compile(search, re.IGNORECASE) + self.fm.search(order='search') if self.count == 1: self.fm.move_right() -- cgit 1.4.1-2-gfad0