diff options
| author | Niklas Baumstark | 2012-01-21 01:31:18 +0100 |
|---|---|---|
| committer | Niklas Baumstark | 2012-04-10 23:54:35 +0200 |
| commit | 253dc6f55885dd0185ab5b061ec2d9429c729ed9 (patch) | |
| tree | 9c2161f911292dcf76e38335c528f9ba94197fdf /fuzzyMode.js | |
| parent | c808c6a165b5fed117afe22ba0372e288bf6d5ab (diff) | |
| download | vimium-253dc6f55885dd0185ab5b061ec2d9429c729ed9.tar.bz2 | |
add possibility to use custom search engines and use "wiki ", "cc ", and ";" (goto) as custom commands
Diffstat (limited to 'fuzzyMode.js')
| -rw-r--r-- | fuzzyMode.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fuzzyMode.js b/fuzzyMode.js index ec2e351b..0387e97b 100644 --- a/fuzzyMode.js +++ b/fuzzyMode.js @@ -4,7 +4,11 @@ var fuzzyMode = (function() { function start(newTab) { if (!fuzzyBox) { var completer = new completion.MergingCompleter([ - new completion.SmartCompleter(), + new completion.SmartCompleter({ + 'wiki ': [ 'Wikipedia (en)', 'http://en.wikipedia.org/wiki/%s' ], + 'cc ' : [ 'dict.cc', 'http://www.dict.cc/?s=%s' ], + ';' : [ 'goto', '%s' ] + }), new completion.FuzzyHistoryCompleter(1000), new completion.FuzzyBookmarkCompleter(), ]); |
