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 28K
  • Win 20K
  • Mac 5K
  • Linux 4K
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11
Windows 0 1 0 0 4 0 1 1 0 1 0 2 2 1 3 0 0 0 1 0 0 0 0 0 0 0 0 2 0 0 1 1 0 0 0 0 3 0 0 0 0 2 0 1 0 1
Mac 0 0 0 0 0 0 0 1 0 0 0 2 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
Linux 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 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