Yes, there is an option. First download the following deb packages:
Second, install them using the following commands in your terminal:
sudo dpkg -i /path/to/gnome-terminal-data_3.6.1-0ubuntu4.1_all.deb
sudo dpkg -i gnome-terminal_3.6.1-0ubuntu4.1_i386.deb
#or, depending on what you downloaded
sudo dpkg -i gnome-terminal_3.6.1-0ubuntu4.1_amd64.deb
And third, restart your terminal.
From now, when you will open your gnome-terminal you can quickly search on Google command line errors, warnings and other things. Highlight the text, right-click on it and choose "Search on Google". It opens the default web browser and go to the google search result page:

Source: Add Google Search to Gnome Terminal in Ubuntu 13.10