summaryrefslogtreecommitdiffstats
path: root/.config/google-chrome
diff options
context:
space:
mode:
authorMichal Minář <mic.liamg@gmail.com>2017-03-25 18:13:55 +0100
committerMichal Minář <mic.liamg@gmail.com>2017-03-25 18:13:55 +0100
commit4ae8945d2c6fbe2f56b86b01ec1d459188d771ae (patch)
tree9e3aa03e56f5586478e035479657ef9463a4412b /.config/google-chrome
parentc0e42053072a9020ca174512ba17fafbab34ea13 (diff)
downloadrcs-4ae8945d2c6fbe2f56b86b01ec1d459188d771ae.zip
rcs-4ae8945d2c6fbe2f56b86b01ec1d459188d771ae.tar.gz
rcs-4ae8945d2c6fbe2f56b86b01ec1d459188d771ae.tar.xz
cVimrc: defined search engines
Signed-off-by: Michal Minář <mic.liamg@gmail.com>
Diffstat (limited to '.config/google-chrome')
-rw-r--r--.config/google-chrome/cVimrc30
1 files changed, 30 insertions, 0 deletions
diff --git a/.config/google-chrome/cVimrc b/.config/google-chrome/cVimrc
index 2c6c720..c59742e 100644
--- a/.config/google-chrome/cVimrc
+++ b/.config/google-chrome/cVimrc
@@ -1,3 +1,4 @@
+" Generic *********************************************************************
set localconfig
" set autoupdategist
@@ -8,6 +9,35 @@ let nextmatchpattern='((?!first)(next|older|more|>|→|›|»|forward|další|d
let prevmatchpattern='((?!last)(prev(ious)?|newer|back|«|less|<|←|‹|předchozí|novější|méně| )+)'
let vimport=8001
+" Search engines **************************************************************
+let searchengine anidb = "http://anidb.net/perl-bin/animedb.pl?show=animelist&adb.search=%s&do.search=search"
+let searchengine csfd = "http://www.csfd.cz/hledat/?q=%s"
+let searchengine yt = "https://www.youtube.com/results?search_query=%s&page={startPage?}&utm_source=opensearch"
+
+let searchengine archpkg = "http://www.archlinux.org/packages/?q=%s"
+let searchengine archwiki = "https://wiki.archlinux.org/index.php?title=Special:Search&search=%s"
+let searchengine aur = "https://aur.archlinux.org/packages/?O=0&K=%s"
+let searchengine docker = "https://registry.hub.docker.com/search?q=%s"
+let searchengine godoc = "http://golang.org/search?q=%s"
+let searchengine hackage = "http://hackage.haskell.org/packages/search?terms=%s"
+let searchengine hoogle = "https://www.haskell.org/hoogle/?hoogle=%s"
+let searchengine hub = "https://github.com/search?q=%s&ref=opensearch"
+
+let searchengine czwiki = "https://cs.wikipedia.org/w/index.php?search=%s"
+let searchengine enwiki = "http://en.wikipedia.org/wiki/Special:Search?search=%s"
+
+let searchengine dafpons = "http://de.pons.com/%C3%BCbersetzung?q=%s&l=dedx&in=&lf="
+let searchengine denpons = "http://de.pons.com/übersetzung?l=deen&q=%s"
+let searchengine duden = "http://www.duden.de/suchen/dudenonline?s=%s&scope=all"
+let searchengine mw = "https://www.merriam-webster.com/dictionary/%s"
+let searchengine slovnikde = "https://slovnik.seznam.cz/?q=%s&lang=de"
+
+let searchengine gmaps = "https://www.google.cz/maps/search/%s?hl=cs&source=opensearch"
+let searchengine smapy = "https://mapy.cz/?q=%s&sourceid=Searchmodule_1"
+
+let completionengines = ["czwiki", "enwiki", "google", "ponsde", "ponsdaf", "slovnikde", "gmaps", "smapy", "mw"]
+
+" Key bindings ****************************************************************
iunmap <C-i>
iunmap <C-o>
iunmap <C-y>