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

Google Search

by nwjlyons ST2/ST3

Search Google for the currently selected text in Sublime Text.

Details

Installs

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

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 Manger 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