Nicolas Alpi, Web developer

A blog about productivity, startups and me.

Tmsnippets2gedit Transform Textmate Snippets Bundle to Gedit Xml Snippet File

This morning I needed to transform  some Textmate snippets to Gedit format.

I’ve wrote a quick and dirty code for that (tmsnippets2gedit on github)

You just need to copy the script to the textmate bumdle root directory, and run it.

You’ll have a new file call result.xml that you need to edit to specify the language format (JS,Ruby,XSL, …).

Then rename it and copy it to your gedit snippets folder.

The code is not pretty, and is certainly perfectible, but for the moment it works. I’ll to combine it to the tm2gtksw2 project (this one convert Texmate styles to Gedit styles)