GithubHelp home page GithubHelp logo

jkitchin / emacs-google-this Goto Github PK

View Code? Open in Web Editor NEW

This project forked from malabarba/emacs-google-this

2.0 2.0 0.0 138 KB

A set of emacs functions and bindings to google under point.

Makefile 15.49% Emacs Lisp 84.51%

emacs-google-this's Introduction

google-this Build Status Melpa Melpa-stable Gratipay

A set of emacs functions and bindings to google under point.

google-this.el is a package that provides a set of functions and keybindings for launching google searches from within emacs.

The main function is google-this (bound to C-c / g). It does a google search using the currently selected region, or the expression under point. All functions are bound under C-c / prefix, in order to comply with emacs' standards. To see all keybindings type C-c / C-h.

If you don't like this keybind, just reassign the google-this-mode-submap variable. My personal preference is C-x g:

   (global-set-key (kbd "C-x g") 'google-this-mode-submap)

To start a blank search, do google-search (C-c / RET). If you want more control of what "under point" means for the google-this command, there are the google-word, google-symbol, google-line and google-region functions, bound as w, s, l and SPC, respectively.

If a prefix argument is given to any of the functions, the search is wrapped in quotes. (see google-wrap-in-quotes).

There is also a google-error (C-c / e) function. It checks the current error in the compilation buffer, tries to do some parsing (to remove file name, line number, etc), and googles it. It's still experimental, and has only really been tested with gcc error reports.

INSTALLATION

Install google-this from Melpa, then activate it:

(google-this-mode 1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.