summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-18 00:22:23 +0100
committerhut <hut@lavabit.com>2010-01-18 00:22:23 +0100
commit80bdc005583adc47a12c28a3f850201958665f10 (patch)
tree273fcc148e800c0be0d5eed10754735a052764e6
parentc2f7c84c1aa524d6224e53888625c0e6fa153d6a (diff)
downloadranger-80bdc005583adc47a12c28a3f850201958665f10.tar.gz
commands: added tabcompletion for :edit
-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):
 	"""
6-07-13 09:32:22 +0200 added logo+description' href='/acidbong/suckless/dwm/commit/dwm.html?h=3.8&id=650a1fb4e1a798aca48a53739f5bb2649191bc1c'>650a1fb ^
3791ec0 ^
650a1fb ^

3791ec0 ^






























7e43369 ^
ce846e9 ^


3791ec0 ^

650a1fb ^
3791ec0 ^
650a1fb ^
3791ec0 ^
650a1fb ^
3791ec0 ^
650a1fb ^



3791ec0 ^
650a1fb ^
3791ec0 ^
650a1fb ^

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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92