Search code examples
textmatetextmate2

Exclude a path from Textmate2's 'command T'


When pressing command+T (⌘T) to bring up the quick file browser, is there a way (using .tm_properties) to exclude a path from it?


Solution

  • We have a list of the settings on the wiki. The settings you want are excludeInFileChooser & includeInFileChooser.

    Note that in r9309 it was changed so that the file must be matched by the include rule to be included.

    Addendum: The file chooser and find window both have editable globs in their windows that default to including everything so the note about file having to be matched by an include rule isn't as relevant as it is for the sidebar or generic rules. (The glob in the window is treated as the last include rule applied.)