How do I do a Google search for the word at the current cursor position?
- Go to Tools | External Tools | Customize Tools…. Click New.
- In the External Tool Properties dialog, Enter the following into the Command field:
- You will also want to give it a memorable icon. If you enter
C:\Windows\System32\imageres.dllinto the Icon Path, you will get a variety of icons to choose from.
- Press OK. The new tool is added to the Tools toolbar.
Hint: This also works for other sites. If I do a search for “fetch” on MDN, the URL shows
https://developer.mozilla.org/en-US/search?q=fetch. I can replace the query with the
CurText variable so that the command becomes