summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-29 06:36:36 +0200
committerhut <hut@lavabit.com>2010-03-29 06:36:36 +0200
commit06a232a06a394298fa42b134d7ba8283630d6747 (patch)
treef4670b1c85d02999d84d2c1f07c3d3bac0ea10d5
parentcc4210ff98da5708fd32c71650bbf9a54ec84d1c (diff)
downloadranger-06a232a06a394298fa42b134d7ba8283630d6747.tar.gz
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.
-rw-r--r--ranger/defaults/commands.py1
1 files changed, 1 insertions, 0 deletions
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()