Created
September 21, 2008 04:44
-
-
Save Sixeight/11840 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" for .vimperatorrc | |
" 個人的に追加するコマンド達 | |
javascript <<EOM | |
(function () { | |
[ | |
['gmail', 'http://mail.google.com/', 'open Gmail'], | |
['gnews', 'http://news.google.co.jp/', 'open Google News'], | |
['gusnews', 'http://news.google.co.jp/news?ned=us', 'open Google News (U.S)'], | |
['gmap', 'http://maps.google.co.jp/', 'open Google Maps'], | |
['greader', 'http://www.google.com/reader/', 'open Google Reader'], | |
['gscholar', 'http://scholar.google.co.jp/', 'open Google Scholar'], | |
['ldr', 'http://reader.livedoor.com/reader/', 'open LDR'], | |
['ssb', 'http://stack.nayutaya.jp/', 'open StackStockBooks'], | |
['rurima', 'http://doc.okkez.net/187/', 'open Ruby reference manual'], | |
].forEach(function([title, url, message]) { | |
var command = function () { liberator.open(url); }; | |
liberator.commands.addUserCommand( | |
[title], | |
message, | |
command, | |
{ shortHelp: message, } | |
); | |
}); | |
})(); | |
EOM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment