On Fri, Jul 28, 2017 at 9:30 AM, Rob McBroom firstname.lastname@example.org wrote:
Looking at the code, TextMate appears to start with a list taken from “Find in Folder Globs.default”, which doesn’t exist, so it falls back to hard-coded defaults.
I find myself adding the same patterns to almost every project so I’d like to change the defaults.
Is there a way to set that via .tm_properties or do I just have to add a key named “default” to com.macromates.TextMate.plist manually?
No, the default values cannot be changed. But since `OakHistoryList` stores the values (per project) in the plist, so it makes sense to me to have it store "defaults" values there too such that you can set them via:
defaults write com.macromates.TextMate "Find in Folder Globs" -dict-add default '("*", "*.py", "*.html")'
I think that should be a straight forward change, if you're interested in submitting a PR.
-- Rob McBroom http://www.skurfer.com/
textmate mailing list email@example.com http://lists.macromates.com/listinfo/textmate