id = "textmate" name = "TextMate" homepage = "https://macromates.com" description = "Powerful and customizable text editor with support for a huge list of programming languages and developed as open source." # `mate` is the command-line tool TextMate installs to open files in the # editor; the Homebrew cask `textmate` links it out of the bundle # ("$APPDIR/TextMate.app/Contents/MacOS/mate"). executables = ["mate"] platforms = ["macos"] [dotfiles] # The TextMate manual, in the Bundles chapter, names the user's own copy: # "If you edit a default item the difference will be stored in # ~/Library/Application Support/TextMate/Bundles. These are then merged with # the default version so your changes will be effective even after upgrading # TextMate. All new items you create also end up in this location." # https://macromates.com/manual/en/bundles # # The Homebrew cask's `zap trash:` names the same directory and the two # preferences domains — ~/Library/Preferences/com.macromates.TextMate.plist and # com.macromates.TextMate.preview.plist, the second being the domain the # TextMate 2 preview builds wrote (Casks/t/textmate.rb). The cask's # `uninstall quit:` gives the bundle identifier as com.macromates.TextMate. paths = [ "[appData]/TextMate/Bundles/", "[preferences]/com.macromates.TextMate.plist", "[preferences]/com.macromates.TextMate.preview.plist", ] # ~/Library/Application Support/TextMate/Pristine Copy/Bundles is where the # same manual page says third-party bundles get installed, so that a later # version of one "can safely install this one on top of the old one" — a # re-downloadable checkout rather than the user's edits, which live in Bundles/ # above. It is not inside any path listed, so nothing needs carving out; it is # named here only to say it was considered. # Bundles are grammars, snippets, commands and themes the user wrote or # tweaked. Nothing among the paths above is a credential. secret = [] # No machine_lines: the preferences are binary property lists, which neither # prefix nor key_path matching can read, and a bundle's items are plists too.