here is a better google search command that escapes spaces and uses highlighted text rather than the current word: open http://www.google.com/search?q=`echo $TM_SELECTED_TEXT | sed 's/ /+/g'` Standard input: selected text Standard output: discard