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
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.
{
"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
Place the cursor inside a word or select some text and press Ctrl+Shift+G
.
Command Pallette