summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/commands.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/ranger/commands.py b/ranger/commands.py
index ae502cdb..3bf65096 100644
--- a/ranger/commands.py
+++ b/ranger/commands.py
@@ -187,6 +187,8 @@ class find(Command):
 	"""
 
 	count = 0
+	tab = Command._tab_directory_content
+
 	def execute(self):
 		if self.mode != cmode.COMMAND_QUICK:
 			self._search()
@@ -203,9 +205,6 @@ class find(Command):
 			self.fm.block_input(0.5)
 			return True
 
-	def tab(self):
-		return self._tab_directory_content()
-
 	def _search(self):
 		self.count = 0
 		line = parse(self.line)
@@ -305,6 +304,9 @@ class edit(Command):
 		line = parse(self.line)
 		self.fm.edit_file(line.rest(1))
 
+	def tab(self):
+		return self._tab_directory_content()
+
 
 class rename(Command):
 	"""