diff options
author | hut <hut@lavabit.com> | 2010-03-29 06:36:36 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-29 06:36:36 +0200 |
commit | 06a232a06a394298fa42b134d7ba8283630d6747 (patch) | |
tree | f4670b1c85d02999d84d2c1f07c3d3bac0ea10d5 /ranger | |
parent | cc4210ff98da5708fd32c71650bbf9a54ec84d1c (diff) | |
download | ranger-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.py | 1 |
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() |