-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I was wondering if anyone has asked, or if I missed how to do this. Is there a way to write a preference so that themes can be tied and auto-loaded to particular bundles? For example, using 'slate' for writing perl, but when I switch to blogging it automatically could switch my theme to expresso and then to Twilight for LaTeX.
Thanks
On Jun 27, 2006, at 6:37 PM, Robert M. Ullrey wrote:
I was wondering if anyone has asked, or if I missed how to do this. Is there a way to write a preference so that themes can be tied and auto-loaded to particular bundles? For example, using 'slate' for writing perl, but when I switch to blogging it automatically could switch my theme to expresso and then to Twilight for LaTeX.
Nope. But you can switch to a theme by opening it. You can double click it or use the open command in the terminal. I was going to get around to writing a command to switch themes about a year ago. But now i only ever use Brilliance Black[1] in HTML, Rails, Ruby, CSS, JS, etc web stuff. So i guess i'm not going to do it. But, let us know if you do, i might switch themes again then.
[1] <shameless-plug>Now included in TextMate by default ;)</shameless- plug>
thomas Aylott—subtleGradient
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Jun 27, 2006, at 5:16 PM, thomas Aylott wrote:
But you can switch to a theme by opening it. You can double click it or use the open command in the terminal.
In that case, I can use "open /Library/Application\ Support/TextMate/ Themes/Espresso\ Libre.tmTheme" and control-r or place in my personal bundle. The only issue is that the command then asks if I want to replace the theme, which I do, but would prefer not to have the confirmation.
This is a solution, but it seems that I should be able to place a similar command in the language file to load the theme with the language.
Thanks Thomas, shameless plug not withstanding ;)
Robert
On 28/6/2006, at 20:10, Robert M. Ullrey wrote:
But you can switch to a theme by opening it. You can double click it or use the open command in the terminal.
In that case, I can use "open /Library/Application\ Support/ TextMate/Themes/Espresso\ Libre.tmTheme" and control-r or place in my personal bundle. The only issue is that the command then asks if I want to replace the theme, which I do, but would prefer not to have the confirmation.
It asks you to replace because you are not opening the loaded version of Espresso Libre. Try instead:
open ~/Library/Application\ Support/TextMate/Themes/Espresso\ Libre.tmTheme
Of course if you have no local changes to the theme, you may want to remove it from ~/Library and open it from /Library.