ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Google Search

by nwjlyons ALL

Search Google for the currently selected text in Sublime Text.

Details

Installs

  • Total 29K
  • Win 20K
  • Mac 5K
  • Linux 4K
Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5
Windows 0 0 0 0 0 0 1 0 1 0 2 0 1 0 0 0 1 0 3 0 0 0 0 1 0 0 0 0 2 2 1 0 1 1 0 0 1 0 0 1 0 0 1 0 1
Mac 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Google Search

Search Google for the currently selected text/word, or an input in Sublime Text 2/3.

This package adds:

  • A Google Search command to the context menu for the selected
  • A pallete command for the current selection(or word)
  • A pallete command that will ask you what to search

Install

If your using the Sublime Package Manager hold down Ctrl+Shift+P and type Package Control: Install Package. Then search for google-search and hit return.

If your not using the package manager then go to your Sublime packages directory(Sublime Text/Packages) Then run this command git clone https://github.com/nwjlyons/google-search.git.

Or you can download the package as a zip file https://github.com/nwjlyons/google-search/archive/master.zip then copy it into your Sublime packages directory.

Settings

{
    "suffix": "", // will be after the query
    "prefix": "", // will be added before the query
    "default_browser": "", // chrome, firefox, more valid values here https://docs.python.org/2/library/webbrowser.html#webbrowser.register
    "domain": "https://www.google.com" // google domain to perform the search
}

You can edit the settings by going to Preferences -> Package Settings -> Google Search -> Settings - User

Usage

Place the cursor inside a word or select some text and press Ctrl+Shift+G.

Context Menu context menu

Command Pallette

pallete

pallete