2014-06-08 Tags: hacking
#!/bin/sh x-www-browser $GEDIT_CURRENT_DOCUMENT_PATH
You should now be able to use whichever shortcut you created to save all documents that you are working on, and open the current document in a web browser. This makes debugging much easier for web applications, and makes gedit a perfect lightweight web IDE. If you have some handy tips and tricks for gedit custom tools, please share in the comments below!