summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-03-01 09:19:47 +0100
committerhut <hut@lavabit.com>2013-03-01 09:22:59 +0100
commitc139ec86237c2800f55ea2064f18c1b5bc4e9523 (patch)
tree9469cc1e167f00cacf8214358f153ed634942698
parent76612b05b5d1490032e38a736c7293bd750c877d (diff)
downloadranger-c139ec86237c2800f55ea2064f18c1b5bc4e9523.tar.gz
Added version info to examples
-rw-r--r--examples/README3
-rw-r--r--examples/bash_automatic_cd.sh2
-rw-r--r--examples/bash_subshell_notice.sh2
-rw-r--r--examples/plugin_chmod_keybindings.py2
-rw-r--r--examples/plugin_file_filter.py2
-rw-r--r--examples/plugin_hello_world.py2
-rw-r--r--examples/plugin_new_macro.py2
-rw-r--r--examples/plugin_new_sorting_method.py2
-rw-r--r--examples/rifle_different_file_opener.conf2
-rwxr-xr-xexamples/rifle_sxiv.sh1
-rw-r--r--examples/vim_file_chooser.vim2
11 files changed, 22 insertions, 0 deletions
diff --git a/examples/README b/examples/README
index 7c71d9cf..ca514853 100644
--- a/examples/README
+++ b/examples/README
@@ -3,3 +3,6 @@ are put here for your inspiration and as references.
 
 In order to use a plugin from this directory, you need to copy it to
 ~/.config/ranger/plugins/
+
+Note that if you update ranger to a new minor version (for example,
+from 1.6.* to 1.7.0), your outdated plugins WILL break and crash ranger.
diff --git a/examples/bash_automatic_cd.sh b/examples/bash_automatic_cd.sh
index a63280d1..8d72c553 100644
--- a/examples/bash_automatic_cd.sh
+++ b/examples/bash_automatic_cd.sh
@@ -1,3 +1,5 @@
+# Compatible with ranger 1.4.2 through 1.6.*
+#
 # Automatically change the directory in bash after closing ranger
 #
 # This is a bash function for .bashrc to automatically change the directory to
diff --git a/examples/bash_subshell_notice.sh b/examples/bash_subshell_notice.sh
index b6b03d74..bc44d5a8 100644
--- a/examples/bash_subshell_notice.sh
+++ b/examples/bash_subshell_notice.sh
@@ -1,3 +1,5 @@
+# Compatible with ranger 1.5.3 through 1.6.*
+#
 # Change the prompt when you open a shell from inside ranger
 #
 # Add this line to your .bashrc for it to work.
diff --git a/examples/plugin_chmod_keybindings.py b/examples/plugin_chmod_keybindings.py
index f26cb3e3..0ab975ed 100644
--- a/examples/plugin_chmod_keybindings.py
+++ b/examples/plugin_chmod_keybindings.py
@@ -1,3 +1,5 @@
+# Compatible with ranger 1.6.*
+#
 # This plugin serves as an example for adding key bindings through a plugin.
 # It could replace the ten lines in the rc.conf that create the key bindings
 # for the "chmod" command.
diff --git a/examples/plugin_file_filter.py b/examples/plugin_file_filter.py
index 39e4e285..965fa2e8 100644
--- a/examples/plugin_file_filter.py
+++ b/examples/plugin_file_filter.py
@@ -1,3 +1,5 @@
+# Compatible with ranger 1.6.*
+#
 # This plugin hides the directories "boot", "sbin", "proc" and "sys" in the
 # root directory.
 
diff --git a/examples/plugin_hello_world.py b/examples/plugin_hello_world.py
index e43eb61d..a803e21b 100644
--- a/examples/plugin_hello_world.py
+++ b/examples/plugin_hello_world.py
@@ -1,3 +1,5 @@
+# Compatible with ranger 1.6.*
+#
 # This is a sample plugin that displays "Hello World" in ranger's console after
 # it started.
 
diff --git a/examples/plugin_new_macro.py b/examples/plugin_new_macro.py
index ec0c487c..159a92f2 100644
--- a/examples/plugin_new_macro.py
+++ b/examples/plugin_new_macro.py
@@ -1,3 +1,5 @@
+# Compatible with ranger 1.6.*
+#
 # This plugin adds the new macro %date which is substituted with the current
 # date in commands that allow macros.  You can test it with the command
 # ":shell echo %date; read"
diff --git a/examples/plugin_new_sorting_method.py b/examples/plugin_new_sorting_method.py
index 2500c1c1..02abbc47 100644
--- a/examples/plugin_new_sorting_method.py
+++ b/examples/plugin_new_sorting_method.py
@@ -1,3 +1,5 @@
+# Compatible with ranger 1.6.*
+#
 # This plugin adds the sorting algorithm called 'random'.  To enable it, type
 # ":set sort=random" or create a key binding with ":map oz set sort=random"
 
diff --git a/examples/rifle_different_file_opener.conf b/examples/rifle_different_file_opener.conf
index 1362a1eb..4a8250b8 100644
--- a/examples/rifle_different_file_opener.conf
+++ b/examples/rifle_different_file_opener.conf
@@ -1,3 +1,5 @@
+# Compatible with ranger 1.6.*
+#
 # Replace your rifle.conf with this file to use xdg-open as your file opener.
 # This is, of course, adaptable for use with any other file opener.
 else = xdg-open "$1"
diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh
index 0cbda01e..60cc8d82 100755
--- a/examples/rifle_sxiv.sh
+++ b/examples/rifle_sxiv.sh
@@ -1,4 +1,5 @@
 #!/bin/sh
+# Compatible with ranger 1.6.*
 #
 # This script searches image files in a directory, opens them all with sxiv
 # and sets the first argument to the first image displayed by sxiv.
diff --git a/examples/vim_file_chooser.vim b/examples/vim_file_chooser.vim
index df3f50e5..4f5fa3f2 100644
--- a/examples/vim_file_chooser.vim
+++ b/examples/vim_file_chooser.vim
@@ -1,3 +1,5 @@
+" Compatible with ranger 1.4.2 through 1.6.*
+"
 " Add ranger as a file chooser in vim
 "
 " If you add this function and the key binding to the .vimrc, ranger can be
0:10:49 +0100 updated pydoc documentation' href='/akspecs/ranger/commit/doc/pydoc/ranger.gui.displayable.html?h=v1.2.0&id=4c13e1f2d85483e026d79ab05da9f1e8e4b45293'>4c13e1f2 ^
f07bb12f ^
b3556b21 ^
f07bb12f ^






4c13e1f2 ^















f07bb12f ^





4c13e1f2 ^
f07bb12f ^






4c13e1f2 ^
f07bb12f ^








f07bb12f ^



4c13e1f2 ^
f07bb12f ^







4c13e1f2 ^
f07bb12f ^
4c13e1f2 ^

f07bb12f ^



f07bb12f ^















4c13e1f2 ^

f07bb12f ^
4c13e1f2 ^
f07bb12f ^
4c13e1f2 ^
f07bb12f ^
4c13e1f2 ^
f07bb12f ^
4c13e1f2 ^
f07bb12f ^

4c13e1f2 ^
b3556b21 ^
4c13e1f2 ^

f07bb12f ^
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289