1.1 --- a/.vimperatorrc Thu Mar 10 04:04:46 2011 +0900
1.2 +++ b/.vimperatorrc Fri Apr 15 14:52:39 2011 +0900
1.3 @@ -62,6 +62,11 @@
1.4 s = s.replace(/\n/, "\n ");
1.5 return t + ":\n - " + u + (s? ("\n >>\n " + s + "\n <<"): '');
1.6 }},
1.7 + { label: 'sc', custom: function() {
1.8 + var t = content.document.title;
1.9 + var u = content.location.href.replace(/^.+ScrapBook\/data\//, '');
1.10 + return '[sc] &scrapbook(' + t + ',' + u + ');';
1.11 + }},
1.12 { label: 'datestr', custom: function() {
1.13 return '[' + content.location.href.match(/\d\d\d\d-\d\d-\d\d-\d+/) + ']';
1.14 }},