summary refs log tree commit diff stats
path: root/ranger
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 /ranger
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.
Diffstat (limited to 'ranger')
-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()
3&id=69e97c429fb0d9f25cf1f2dc7d19e42123b0bf72'>^
a66c4a26 ^


f027adc0 ^
5c210a96 ^

3de15ddd ^

5c210a96 ^
fb275079 ^

5c210a96 ^
3d566884 ^
a1d7ed6e ^
3d566884 ^
f8e96a97 ^
465bff73 ^





f027adc0 ^
f8e96a97 ^

0b5c4cbe ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43