summaryrefslogtreecommitdiff
path: root/lisp/init-external.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-10-25 00:19:33 -0400
committerKyle Meyer <kyle@kyleam.com>2014-10-25 00:19:33 -0400
commitf76040759c51632b2e568f21c138ab301d8e26ef (patch)
tree91e445bcac42bac49230bffa14a98af457dac981 /lisp/init-external.el
parentf7d70cf7e4db750fd92569166a4af987c603d5c7 (diff)
downloademacs.d-f76040759c51632b2e568f21c138ab301d8e26ef.tar.gz
Customize WebJump site list
Diffstat (limited to 'lisp/init-external.el')
-rw-r--r--lisp/init-external.el28
1 files changed, 28 insertions, 0 deletions
diff --git a/lisp/init-external.el b/lisp/init-external.el
index e5b8168..baad4ef 100644
--- a/lisp/init-external.el
+++ b/lisp/init-external.el
@@ -102,6 +102,34 @@ monitor setup)."
(after 'diff
(define-key diff-mode-map (kbd "C-c C-g") 'km/revert-buffer-and-view))
+;;; WebJump
+
+(define-key km/external-map "j" 'webjump)
+
+(setq webjump-sites
+ '(("Arch User Repository" .
+ [simple-query "https://aur.archlinux.org"
+ "https://aur.archlinux.org/packages/?K=" ""])
+ ("DuckDuckGo" .
+ [simple-query "https://duckduckgo.com"
+ "https://duckduckgo.com/?q=" ""])
+ ("Emacs Wiki" .
+ [simple-query "www.emacswiki.org"
+ "www.emacswiki.org/cgi-bin/wiki/" ""])
+ ("GitHub" . "https://github.com")
+ ("GitHub search" .
+ [simple-query "https://github.com"
+ "https://github.com/search?q=" ""])
+ ("Google" .
+ [simple-query "www.google.com"
+ "www.google.com/search?q=" ""])
+ ("Google Scholar" .
+ [simple-query "http://scholar.google.com"
+ "http://scholar.google.com/scholar?&q=" ""])
+ ("Wikipedia" .
+ [simple-query "wikipedia.org"
+ "wikipedia.org/wiki/" ""])))
+
;;; Misc
(define-key km/external-map "w" 'woman)