I made this little command to search for examples of programming libraries / construct:
#!/usr/bin/env python import webbrowser from os import environ
lang = environ['TM_MODE'].lower() QUERY="http://google.com/codesearch?q=" + environ['TM_CURRENT_WORD'] + "++lang:" + lang webbrowser.open_new(QUERY)
It works fine, do you see any possible "problem"? Could I maybe use the browser integrated inside Textmate?? How to call it directly?
Another little thing: I read on the dev guide that I should modify directly bundles and the svn diff to view my changes. Actually I'm not doing like that but I have all my changes in the "normal" directory.
How is better to do to propose changes or some new features to bundles mainatainers?
Thanks