aboutsummaryrefslogtreecommitdiffstats
path: root/background_page.html
diff options
context:
space:
mode:
authorNiklas Baumstark2012-01-27 23:02:57 +0100
committerNiklas Baumstark2012-04-10 23:59:54 +0200
commit5ee53fc3ef8d4b3a2a616843accb77c30849a26f (patch)
treec134c70d9642b40b9b8cd6f8f55479c0c77f1bc1 /background_page.html
parentf28edd6bcb2a84e7c36700af102006c95468a265 (diff)
downloadvimium-5ee53fc3ef8d4b3a2a616843accb77c30849a26f.tar.bz2
add domain completion a la Chrome omnibox
Diffstat (limited to 'background_page.html')
-rw-r--r--background_page.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/background_page.html b/background_page.html
index f760ea70..6476b474 100644
--- a/background_page.html
+++ b/background_page.html
@@ -61,12 +61,14 @@
';' : [ 'goto', '%s' ],
'?' : [ 'search', function(query) { return utils.createSearchUrl(query) } ],
}),
+ domain: new completion.DomainCompletionSource(),
bookmarks: new completion.FuzzyBookmarkCompletionSource(),
history: new completion.FuzzyHistoryCompletionSource(20000),
tabs: new completion.FuzzyTabCompletionSource(),
}
var completers = {
omni: new completion.MultiCompleter([
+ completionSources.domain,
completionSources.smart,
completionSources.bookmarks,
completionSources.history,