-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path0072 - foo.vim.json
219 lines (219 loc) · 8.21 KB
/
0072 - foo.vim.json
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
{
"script_id": "72",
"display_name": "foo.vim",
"summary": "examples of Vim functions (and a few commands, etc.)",
"name": "foo.vim",
"script_type": "utility",
"description": "This file is a collection of Vim functions I have written, many of them in\nresponse to questions posted on the vim users' list. They are all reasonably\nshort, so I hope they will be good examples if you are trying to learn how to\nwrite your own Vim functions. You may even find some of the functions\nuseful, such as the :Range command and the Mark(), Common(), Count(),\nGetModelines(), VarTab(), and SmartBS() functions.",
"install_details": "",
"versions": [
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=4837",
"filename": "foo.vim",
"script_version": "2.1.1",
"date": "2005-11-30",
"vim_version": "6.0",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "improved \"text object\" :vmap's for i\", i', a\", a' (will be obsolete in vim 7) and some tweaks to the comments"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=2657",
"filename": "foo.vim",
"script_version": "2.1",
"date": "2004-01-12",
"vim_version": "6.0",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "New functions:\n\nGCD(): an example of recursion\nRepeatString(): Generate \"ababababababababab\"\nInvertString(): by Preben \"Peppe\" Guldberg\nMyMarks(): save file positions to a file and read them\nFooSID(): expose the script ID so you can call script-local functions"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=2116",
"filename": "foo.vim",
"script_version": "2.0.3",
"date": "2003-06-27",
"vim_version": "6.0",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "I changed :map to :imap for the VarTab() function."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=2061",
"filename": "foo.vim",
"script_version": "2.0.2",
"date": "2003-06-11",
"vim_version": "6.0",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "Oops, I uploaded the wrong file!"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=2060",
"filename": "matchit.vim",
"script_version": "2.0.2",
"date": "2003-06-11",
"vim_version": "6.0",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "improvements to the EditFun command and function"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=1433",
"filename": "foo.vim",
"script_version": "2.0.1",
"date": "2002-11-19",
"vim_version": "6.0",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "Oops: make sure script variables are defined before used."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=1422",
"filename": "foo.vim",
"script_version": "2.0",
"date": "2002-11-15",
"vim_version": "6.0",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "I added a user configuration section, as discussed on the vim-dev\nmailing list. With the defaults, most :imap's are not defined, so it\nis safer to include this in your plugin directory, if you like using any\nof the commands or functions it defines. Like the rest of the file,\nthe configuration section is meant as an example to be followed.\nThe user should copy this section to a separate file, foo.vimrc .\n\nI also added functions to save script-local variables in the script\nfile, so they are made persistent."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=1083",
"filename": "foo.vim",
"script_version": "1.4",
"date": "2002-08-06",
"vim_version": "5.7",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "Just a format change: This version has unix-style line endings, and I\nupdated the modelines to keep it that way."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=1078",
"filename": "foo.vim",
"script_version": "1.4",
"date": "2002-08-04",
"vim_version": "5.7",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "I added Common(str1, str2), which returns the initial matching part (if any)\nof two input strings.\nI also added TWIN() (The Weather Is Nice): an example of how to prompt\nthe user for input and add some text based on that input."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=738",
"filename": "foo.vim",
"script_version": "1.3",
"date": "2002-03-31",
"vim_version": "5.7",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "I added the :Iabbr command, which allows you to define abbreviations like\n\n:Iabbr foo foo()<Left>\n\nthat can be triggered by a space without inserting that space. Several contributors to the vim users' list suggested improvements to this command."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=409",
"filename": "foo.vim",
"script_version": "1.2",
"date": "2001-12-06",
"vim_version": "5.7",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "I added a table of contents, with a one-line description of the purpose\nand a one-line description of the techniques used by each example.\nI also trimmed a few of the less interesting examples and made a\ncouple of corrections, added a few comments, etc."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=369",
"filename": "foo.vim",
"script_version": "1.1",
"date": "2001-11-22",
"vim_version": "6.0",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "I improved the GetModelines() function.\nMaybe something else is new, too..."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=139",
"filename": "foo.vim",
"script_version": "1.0",
"date": "2001-08-28",
"vim_version": "5.7",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "Initial upload"
}
]
}