[TxMt] Re: Find in Folder Globs

Ronald Wampler rdwampler at gmail.com
Wed Aug 2 16:12:47 UTC 2017


On Fri, Jul 28, 2017 at 9:30 AM, Rob McBroom <mailinglist0 at skurfer.com> 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.

Ron

> Thanks.
>
> --
> Rob McBroom
> http://www.skurfer.com/
>
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate


More information about the textmate mailing list