Skip to content

Instantly share code, notes, and snippets.

View route's full-sized avatar
Things only change when we change them

Dmitry Vorotilin route

Things only change when we change them
View GitHub Profile
route / gist:3412287
Created August 21, 2012 05:50
TextMate 2 .tm_properties

This is all based on the [alpha release][1].


From the built-in help system:

For many settings TextMate will look for a .tm_properties file in the current folder and in any parent folders (up to the user’s home folder).

These are simple setting = value listings where the value is a format string in which other variables can be referenced.

import re
import shutil
import argparse
from os import path
from sys import stderr
# Author: Daxda
# Date: 02.04.2014
# WTF: This is a quick tool I've hacked together to easily remove the meta