gEdit Template Plugin :: Basic Templates

Eckhard Jäger released a plugin for gEdit last Monday which allowed you to create your own templates, and then create files from those templates. I really liked the idea of this plugin, so I’m going to help it out a bit. Here is a quick archive of a few useful templates for web developers.

It includes these templates:

  • XHTML 1.0 Strict
  • XHTML 1.0 Transitional
  • CSS
  • PHP

I may add more templates over time, but that’s all for now.

Here’s how to get it.. Run these commands sequentially in a terminal:

  • wget http://engel.uk.to/etc/templates.tar.gz
  • tar -zxf templates.tar.gz
  • mv templates ~/.gnome2/gedit

Or, if you prefer a graphical interface you can download the file and extract that into ~/.gnome2/gedit.

3 Responses to “gEdit Template Plugin :: Basic Templates”


  1. 1 Bart November 28, 2007 at 2:46 am

    Hello Engel,

    i checked your templates, if my personal templates are used for a programming language (Python, JavaScript, Php etc.) i’m using an information header (written as comments). Somthing like this:

    //
    // Project:
    // Version: 1.0.0
    // Date:
    // Auhor:
    //
    // Done with openSweeTS - delicious TypoScript development.
    // http://typoscript.area42.de
    //

  2. 2 engel November 28, 2007 at 2:45 pm

    That’s a great idea. However, I wasn’t sure if all people would want that in their templates or not.

  3. 3 Felix Kütt March 28, 2008 at 9:08 am

    yet, its easier to highlight the comments and press Delete,
    than to type the template. :)

    thats the whole point of templates, after all.

    ah! download finished! :)

Leave a Reply