-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path0052 - calendar.vim--Matsumoto.json
More file actions
219 lines (219 loc) · 9.93 KB
/
Copy path0052 - calendar.vim--Matsumoto.json
File metadata and controls
219 lines (219 loc) · 9.93 KB
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": "52",
"display_name": "calendar.vim -- Matsumoto",
"summary": "Calendar",
"name": "calendar.vim--Matsumoto",
"script_type": "utility",
"description": "This script create calender window. \nThis don't use the external program(cal).\n",
"install_details": "Copy calendar.vim to your plugin directory.",
"versions": [
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=14880",
"filename": "calendar.vim",
"script_version": "2.5",
"date": "2011-01-27",
"vim_version": "6.0",
"author": {
"user_id": "103",
"user_name": "mattn",
"first_name": "Yasuhiro",
"last_name": "Matsumoto",
"email": "mattn.jp@gmail.com",
"homepage": "http://mattn.kaoriya.net/"
},
"release_notes": "[fix] 7.2 don't have relativenumber."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=14879",
"filename": "calendar.vim",
"script_version": "2.4",
"date": "2011-01-27",
"vim_version": "6.0",
"author": {
"user_id": "103",
"user_name": "mattn",
"first_name": "Yasuhiro",
"last_name": "Matsumoto",
"email": "mattn.jp@gmail.com",
"homepage": "http://mattn.kaoriya.net/"
},
"release_notes": "Applied patch from SethMilliken: added g:calendar_options . default is 'fdc=0 nonu nornu' . you can overwrite default behavior of calendar window."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=14707",
"filename": "calendar.vim",
"script_version": "2.3",
"date": "2011-01-08",
"vim_version": "6.0",
"author": {
"user_id": "103",
"user_name": "mattn",
"first_name": "Yasuhiro",
"last_name": "Matsumoto",
"email": "mattn.jp@gmail.com",
"homepage": "http://mattn.kaoriya.net/"
},
"release_notes": "Applied patch from bw1: fixed weeknum function."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=12959",
"filename": "calendar.vim",
"script_version": "2.2",
"date": "2010-05-06",
"vim_version": "6.0",
"author": {
"user_id": "103",
"user_name": "mattn",
"first_name": "Yasuhiro",
"last_name": "Matsumoto",
"email": "mattn.jp@gmail.com",
"homepage": "http://mattn.kaoriya.net/"
},
"release_notes": "Applied patch: http://gist.github.com/355513#file_customizable_keymap.diff http://gist.github.com/355513#file_winfixwidth.diff"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=12699",
"filename": "calendar.vim",
"script_version": "2.1",
"date": "2010-03-24",
"vim_version": "6.0",
"author": {
"user_id": "103",
"user_name": "mattn",
"first_name": "Yasuhiro",
"last_name": "Matsumoto",
"email": "mattn.jp@gmail.com",
"homepage": "http://mattn.kaoriya.net/"
},
"release_notes": "Applied patch from thinca. Thanks."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=11795",
"filename": "calendar.vim",
"script_version": "2.0",
"date": "2009-11-24",
"vim_version": "6.0",
"author": {
"user_id": "103",
"user_name": "mattn",
"first_name": "Yasuhiro",
"last_name": "Matsumoto",
"email": "mattn.jp@gmail.com",
"homepage": "http://mattn.kaoriya.net/"
},
"release_notes": "Applied patch from Ingo Karkat. Thanks.- ENH: Added a config setting g:calendar_datetime. This allows to remove thedisplay of the current date/time in the title (I don't like it), and offers thewindow's statusline as an alternative.- BUG: The checks for g:calendar_action and g:calendar_sign should also checkfor an existing, but empty variable. Otherwise, it is not possible to disable itin a .vimrc, because the sourcing of calendar.vim would initialize the variables.- BUG: In s:CalendarDoAction(), the check for g:calendar_action must come afterthe \"navi\" handling; otherwise \"navi\" breaks if g:calendar_action is disabled(see above).- ENH: The :set wrapscan is ugly, because it is a global setting. The search()commands already pass the 'w' flag, so the only remaining issue were thesearches via /. I modified the 'G0/...' search to 'G$?' (i.e. backward from endof buffer), so that 'wrapscan' isn't required any more. (Even better would be touse search() for these jumps, too.) With this, I can also completely get rid ofthe autocmds in case one does not want the date/time in the title, neither (seeabove).- Using :setlocal buftype=nofile instead of =nowrite; this is more suitable forthis kind of scratch buffer, and avoids that the path may be shown in the title/ statusline (depending on the customization).- BUG: Replaced :setlocal nowrap with 'wrap'. Without this, the 'sidescrolloff'setting may cause the left side of the calendar to disappear if the lastinserted element is near the right window border. 'wrap' shouldn't matter,anyway, and 'sidescrolloff' is a global setting, unfortunately.Try :set sidescrolloff=3 in combination with :let g:calendar_navi = 'bottom' toreproduce.- BUG: The :normal i... for the navi rendering causes a trailing space after the\"Next>\" button. This way, I cannot quickly type \"G$<CR>\" to activate the nextbutton. Now using :normal a... to append. This causes the entire navi to shiftone character to the right, but you could fix this by decreasing the columncounter.- ENH: Use :stopinsert in case we've gotten here from insert mode (via<C-O>:Calendar<CR>)...- Using :wincmd w instead of :normal <C-w>; it's simpler. (And you should alwaysuse :normal! (with a bang) to avoid interference with user remappings!)- ENH: I noticed that <left> and <s-left> do the same thing, but in differentways (one uses the navi and the latter is called by the former). I dropped theunintuitive shift mappings and instead do the jumps consistently in the navi,using the b:Calendar... variables instead of that ugly maparg() stuff.- ENH: I noticed that <left> and <up> do the same thing. I changed <up>/<down>to move an entire year, so one can quickly let the years pass...- ENH: the 'q' mapping now returns to the previous window, not the first one."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=11771",
"filename": "calendar.vim",
"script_version": "1.9",
"date": "2009-11-20",
"vim_version": "6.0",
"author": {
"user_id": "103",
"user_name": "mattn",
"first_name": "Yasuhiro",
"last_name": "Matsumoto",
"email": "mattn.jp@gmail.com",
"homepage": "http://mattn.kaoriya.net/"
},
"release_notes": "This is an upgrade for calendar.vim. use nnoremap."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=11496",
"filename": "calendar.vim",
"script_version": "1.8",
"date": "2009-10-08",
"vim_version": "6.0",
"author": {
"user_id": "103",
"user_name": "mattn",
"first_name": "Yasuhiro",
"last_name": "Matsumoto",
"email": "mattn.jp@gmail.com",
"homepage": "http://mattn.kaoriya.net/"
},
"release_notes": "This is an upgrade for calendar.vim. fixed E382 while closing diary."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=8279",
"filename": "calendar.vim",
"script_version": "1.7",
"date": "2008-02-15",
"vim_version": "6.0",
"author": {
"user_id": "103",
"user_name": "mattn",
"first_name": "Yasuhiro",
"last_name": "Matsumoto",
"email": "mattn.jp@gmail.com",
"homepage": "http://mattn.kaoriya.net/"
},
"release_notes": "This is a fixed version of calendar.vim. fixed problem of week number on 03/01/2008."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=7409",
"filename": "calendar.vim",
"script_version": "1.6",
"date": "2007-07-24",
"vim_version": "6.0",
"author": {
"user_id": "103",
"user_name": "mattn",
"first_name": "Yasuhiro",
"last_name": "Matsumoto",
"email": "mattn.jp@gmail.com",
"homepage": "http://mattn.kaoriya.net/"
},
"release_notes": "Added new actions 'calendar_begin' and 'calenader_end'."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=7047",
"filename": "calendar.vim",
"script_version": "1.5",
"date": "2007-05-01",
"vim_version": "6.0",
"author": {
"user_id": "103",
"user_name": "mattn",
"first_name": "Yasuhiro",
"last_name": "Matsumoto",
"email": "mattn.jp@gmail.com",
"homepage": "http://mattn.kaoriya.net/"
},
"release_notes": "This is an upgrade for calendar.vim. this include some bug fix."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=4984",
"filename": "calendar.vim",
"script_version": "1.4a",
"date": "2006-01-16",
"vim_version": "6.0",
"author": {
"user_id": "103",
"user_name": "mattn",
"first_name": "Yasuhiro",
"last_name": "Matsumoto",
"email": "mattn.jp@gmail.com",
"homepage": "http://mattn.kaoriya.net/"
},
"release_notes": "This is an upgrade for calendar.vim. this include some bug fix and calendar_today action.\n"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=3599",
"filename": "calendar.vim",
"script_version": "1.4",
"date": "2004-11-03",
"vim_version": "6.0",
"author": {
"user_id": "103",
"user_name": "mattn",
"first_name": "Yasuhiro",
"last_name": "Matsumoto",
"email": "mattn.jp@gmail.com",
"homepage": "http://mattn.kaoriya.net/"
},
"release_notes": "This is an upgrade for Calendar.vim. this include 2 bug fixs and 1 improvement."
}
]
}