Web Searching from Emacs
Paste this to .emacs:
(global-set-key (kbd "C-x g") 'webjump)
;; Add Urban Dictionary to webjump
(eval-after-load "webjump"
'(add-to-list 'webjump-sites
'("Urban Dictionary" .
[simple-query
"www.urbandictionary.com"
"http://www.urbandictionary.com/define.php?term="
""])))
Restart emacs and use C-x g
.
Webjump let's you quickly search Google, Wikipedia, Emacs Wiki and other pages.
This snippet adds Urban Dictionary to the list of pages.
Source :
What the Emacs d
Written by Arpit Rawat
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Emacs
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#