On 6 Aug 2016, at 19:20, M. wrote:
Ideally, I'd *cut down* the file name via some regex, say, stripping the file ending, and generally, only displaying the last n characters of the name, so that all tabs would have the same width (and I can have more of them open without the tab bar overflowing).
This does sound more like something that needs to be a “native” feature rather than something you can achieve by setting the tab title for your documents.
Currently the tab widths have a minimum width of 120 pixels set here: https://github.com/textmate/textmate/blob/master/Frameworks/OakAppKit/src/Oa...
It would be easy to read this from user defaults instead, though you may also need preferences as to how to truncate a title. Currently it’s truncating the middle part.