Skip to content
Branch: master
Find file History
syl20bnr Bump year in copyright headers
Happy New Year 2017!
Latest commit b252d25 Jan 6, 2017
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
img layers directory: create new categories Mar 24, 2016
README.org Format documenation files with doc-fmt tool Apr 13, 2016
funcs.el Bump year in copyright headers Apr 2, 2017
packages.el Bump year in copyright headers Apr 2, 2017

README.org

Search Engine layer

img/searchengine.jpg

Table of Contents

Description

This layer adds support for the Search Engine package.

Supported search engines

  • Amazon
  • Duck Duck Go
  • Google
  • Google Images
  • GitHub
  • Google Maps
  • Twitter
  • Project Gutemberg
  • Youtube
  • Stack Overflow
  • Spacemacs Issues
  • Wikipedia
  • Wolfram Alpha

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add search-engine to the existing dotspacemacs-configuration-layers list in this file.

Key Bindings

EvilHolyCommand
SPC a /C-c /Summon a Helm buffer to select any engine

Customize it!

If you’d rather have emacs use chrome, or firefox or any other thing (eww) you can have that customization. For example for google chrome you can put this in your dotspacemacs/user-config:

(setq browse-url-browser-function 'browse-url-generic
      engine/browser-function 'browse-url-generic
      browse-url-generic-program "google-chrome")

Also if you want more search engines, just push them (do this in dotspacemacs/user-config)

(push '(custom1
         :name "Custom Search Engine 1"
         :url "http://www.domain.com/s/stuff_sutff_remember_to_replace_search_candidate_with_%s")
        search-engine-alist)

If you’d rather not use helm but would want a specific search engine, remember the function generated is always engine/search-(the name of the search engine lower-case and hyphen instead-of-spaces-for-separation) so you can bind that to any key binding you want.

You can’t perform that action at this time.