Here's a theme I made for personal use, but I've been enjoying it so much I thought I'd share it around. I've always been fond of dark backgrounds, but not *that dark. I started this one as a compromise, inspired by colored chalk on a chalkboard.
On Nov 9, 2005, at 2:07 PM, Wilson Miner wrote:
Here's a theme I made for personal use, but I've been enjoying it so much I thought I'd share it around. I've always been fond of dark backgrounds, but not *that dark. I started this one as a compromise, inspired by colored chalk on a chalkboard.
That looks sharp, but I absolutely cannot get TM to open it! Anyone else having problems? Nothing appears in the console log, and it doesn't activate or appear in the list of themes...
Doesn't work here either.
S
On Nov 9, 2005, at 2:17 PM, Brian Lalor wrote:
On Nov 9, 2005, at 2:07 PM, Wilson Miner wrote:
Here's a theme I made for personal use, but I've been enjoying it so much I thought I'd share it around. I've always been fond of dark backgrounds, but not *that dark. I started this one as a compromise, inspired by colored chalk on a chalkboard.
That looks sharp, but I absolutely cannot get TM to open it! Anyone else having problems? Nothing appears in the console log, and it doesn't activate or appear in the list of themes...
-- __ ____ / / / __/ Brian Lalor / _ /__ \ blalor@bravo5.org /_.__/____/ http://bravo5.org/
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Stephen F. Steiner Integrated Development Corporation ssteiner@integrateddevcorp.com www.integrateddevcorp.com (603)433-1232
Strange - I just removed my local version and downloaded and installed the new one fine. Can somebody try manually dropping it in ~/Library/Application Suport/TextMate/Themes/ and let me know?
On 11/9/05, Stephen F. Steiner ssteiner@integrateddevcorp.com wrote:
Doesn't work here either. S
On Nov 9, 2005, at 2:17 PM, Brian Lalor wrote:
On Nov 9, 2005, at 2:07 PM, Wilson Miner wrote:
Here's a theme I made for personal use, but I've been enjoying it so much I thought I'd share it around. I've always been fond of dark backgrounds, but not *that dark. I started this one as a compromise, inspired by colored chalk on a chalkboard.
That looks sharp, but I absolutely cannot get TM to open it! Anyone else having problems? Nothing appears in the console log, and it doesn't activate or appear in the list of themes...
-- __ ____ / / / __/ Brian Lalor / _ /__ \ blalor@bravo5.org /_.__/____/ http://bravo5.org/
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Stephen F. Steiner Integrated Development Corporation ssteiner@integrateddevcorp.com www.integrateddevcorp.com http://www.integrateddevcorp.com (603)433-1232
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Wed, 9 Nov 2005, Wilson Miner wrote:
Strange - I just removed my local version and downloaded and installed the new one fine. Can somebody try manually dropping it in ~/Library/Application Suport/TextMate/Themes/ and let me know?
That's a no go here as well.
William D. Neumann
---
"There's just so many extra children, we could just feed the children to these tigers. We don't need them, we're not doing anything with them.
Tigers are noble and sleek; children are loud and messy."
-- Neko Case
Life is unfair. Kill yourself or get over it. -- Black Box Recorder
On Nov 9, 2005, at 2:38 PM, William D. Neumann wrote:
On Wed, 9 Nov 2005, Wilson Miner wrote:
Strange - I just removed my local version and downloaded and installed the new one fine. Can somebody try manually dropping it in ~/Library/ Application Suport/TextMate/Themes/ and let me know?
That's a no go here as well.
Ditto. I renamed it Slate.plist and tried restarting TM to no avail.
It's this line:
<string>a Meta.tag.A<<allA>></string>
Delete the <<>> and you're good to go.
Chris
On Nov 9, 2005, at 2:45 PM, Brian Lalor wrote:
On Nov 9, 2005, at 2:38 PM, William D. Neumann wrote:
On Wed, 9 Nov 2005, Wilson Miner wrote:
Strange - I just removed my local version and downloaded and installed the new one fine. Can somebody try manually dropping it in ~/Library/ Application Suport/TextMate/Themes/ and let me know?
That's a no go here as well.
Ditto. I renamed it Slate.plist and tried restarting TM to no avail.
-- __ ____ / / / __/ Brian Lalor / _ /__ \ blalor@bravo5.org /_.__/____/ http://bravo5.org/
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Cheers, Chris. This one should work then.
On 11/9/05, Chris Thomas chris@cjack.com wrote:
It's this line:
<string>a Meta.tag.A<<allA>></string>
Delete the <<>> and you're good to go.
Chris
On Nov 9, 2005, at 2:45 PM, Brian Lalor wrote:
On Nov 9, 2005, at 2:38 PM, William D. Neumann wrote:
On Wed, 9 Nov 2005, Wilson Miner wrote:
Strange - I just removed my local version and downloaded and installed the new one fine. Can somebody try manually dropping it in ~/Library/ Application Suport/TextMate/Themes/ and let me know?
That's a no go here as well.
Ditto. I renamed it Slate.plist and tried restarting TM to no avail.
-- __ ____ / / / __/ Brian Lalor / _ /__ \ blalor@bravo5.org /_.__/____/ http://bravo5.org/
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Love it ! Thank you very much !
2005/11/9, Wilson Miner wminer@gmail.com:
Cheers, Chris. This one should work then.
On 11/9/05, Chris Thomas chris@cjack.com wrote:
It's this line:
<string>a
Meta.tag.A<<allA>></string>
Delete the <<>> and you're good to go.
Chris
On Nov 9, 2005, at 2:45 PM, Brian Lalor wrote:
On Nov 9, 2005, at 2:38 PM, William D. Neumann wrote:
On Wed, 9 Nov 2005, Wilson Miner wrote:
Strange - I just removed my local version and downloaded and installed the new one fine. Can somebody try manually dropping it in ~/Library/ Application Suport/TextMate/Themes/ and let me know?
That's a no go here as well.
Ditto. I renamed it Slate.plist and tried restarting TM to no avail.
-- __ ____ / / / __/ Brian Lalor / _ /__ \ blalor@bravo5.org /_.__/____/ http://bravo5.org/
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Damn, it's a tie between slate and twilight. How to solve this?
Andreas
On Nov 9, 2005, at 22:34 , Charilaos Skiadas wrote:
On Nov 9, 2005, at 3:09 PM, Michel Rasschaert wrote:
Love it ! Thank you very much !
Same here. Very nice theme! Thanks.
Haris
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Nov 9, 2005, at 3:47 PM, Andreas Wahlin wrote:
Damn, it's a tie between slate and twilight. How to solve this?
Flip a coin: 1) Open new document. 2) Type: echo "`date "+%S"`%2" | bc 3) Text->Execute Line inserting result 0 is slate, 1 is twilight.
Or you can flip a physical coin :-)
Andreas
Haris
On 09/11/2005, at 23.30, Charilaos Skiadas wrote:
Damn, it's a tie between slate and twilight. How to solve this?
Flip a coin:
- Open new document.
- Type: echo "`date "+%S"`%2" | bc
- Text->Execute Line inserting result
0 is slate, 1 is twilight.
Here's a refinement, select these two lines and ctrl-R to make TM switch to the theme as well :)
themes=($HOME/Library/Application\ Support/TextMate/Themes/ Slate.tmTheme /Applications/TextMate.app/Contents/SharedSupport/ Themes/Twilight.tmTheme) open "${themes[$(bc <<<$(date "+%S %%2"))]}"
(if you have Twilight in /Library or ~/Library, you'll need to change the path)
This must be the only editor I've ever used that can switch themes at random on startup ... could this be auto executed in some way? Don't really know if I want, but it's a fun thing :) Could one expand the list in some way and just increment that final digit there?
Andreas
On Nov 10, 2005, at 6:22 , Allan Odgaard wrote:
On 09/11/2005, at 23.30, Charilaos Skiadas wrote:
Damn, it's a tie between slate and twilight. How to solve this?
Flip a coin:
- Open new document.
- Type: echo "`date "+%S"`%2" | bc
- Text->Execute Line inserting result
0 is slate, 1 is twilight.
Here's a refinement, select these two lines and ctrl-R to make TM switch to the theme as well :)
themes=($HOME/Library/Application\ Support/TextMate/Themes/ Slate.tmTheme /Applications/TextMate.app/Contents/SharedSupport/ Themes/Twilight.tmTheme) open "${themes[$(bc <<<$(date "+%S %%2"))]}"
(if you have Twilight in /Library or ~/Library, you'll need to change the path)
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 10/11/2005, at 12.03, Andreas Wahlin wrote:
Could one expand the list in some way and just increment that final digit there?
Like a cycle? You would need to store the value somewhere, e.g. in a file. It could be made… meanwhile I had some fun creating this script:
IFS=$(echo -e "\n\r") themes=($(find /Applications/TextMate.app/Contents/SharedSupport/ Themes -name "*.tmTheme")) rand=$(dd </dev/random bs=1 count=1 2>/dev/null|hexdump -e '/1 "%u"') total=${#themes[@]} open "${themes[$((rand % total))]}"
It picks a random theme from what's included by default. Unfortunately I see that a lot of the default themes have a plist extension, for which it doesn't work. So currently will only pick random from 4 themes, but I'll have that corrected in next build.
Also be aware, if the default theme has an equivalent in ~/Library, TM will ask if it should overwrite (instead of switching), since it thinks you're opening a new version of the theme -- for users with a lot of custom themes, it'd probably be better to just let it randomly pick from what's in ~/Library.
Nah, i have a lot of themes that i don't like installed, rather
do randomize from given list list equals slate.tmtheme twilight.tmtheme magic workbench.tmtheme ... end equal
god, that is horrible code, even for pseudo :) what was described was a way of having a toggle between two files, but i want a toggel between n files.
ANdreas
On Nov 10, 2005, at 13:24 , Allan Odgaard wrote:
On 10/11/2005, at 12.03, Andreas Wahlin wrote:
Could one expand the list in some way and just increment that final digit there?
Like a cycle? You would need to store the value somewhere, e.g. in a file. It could be made… meanwhile I had some fun creating this script:
IFS=$(echo -e "\n\r") themes=($(find /Applications/TextMate.app/Contents/SharedSupport/ Themes -name "*.tmTheme")) rand=$(dd </dev/random bs=1 count=1 2>/dev/null|hexdump -e '/1 "%u"') total=${#themes[@]} open "${themes[$((rand % total))]}"
It picks a random theme from what's included by default. Unfortunately I see that a lot of the default themes have a plist extension, for which it doesn't work. So currently will only pick random from 4 themes, but I'll have that corrected in next build.
Also be aware, if the default theme has an equivalent in ~/Library, TM will ask if it should overwrite (instead of switching), since it thinks you're opening a new version of the theme -- for users with a lot of custom themes, it'd probably be better to just let it randomly pick from what's in ~/Library.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 10/11/2005, at 16.22, Andreas Wahlin wrote:
[...] what was described was a way of having a toggle between two files, but i want a toggel between n files.
The stuff I showed used a bash array, so just do:
themes=(theme1 theme2 theme3)
You'll have to use modulo “number of themes”, which was the “total” variable in my last script.
So just making it:
themes=(theme1 theme2 theme3) rand=$(dd </dev/random bs=1 count=1 2>/dev/null|hexdump -e '/1 "%u"') total=${#themes[@]} open "${themes[$((rand % total))]}"
Should work. Though remeber to quote theme paths properly, though ~ won't expand in double quotes, so use $HOME instead.
Glad you like it. I stole some of the scope definitions from Twilight, so credit due etc.
On 11/10/05, Allan Odgaard throw-away-1@macromates.com wrote:
On 10/11/2005, at 16.22, Andreas Wahlin wrote:
[...] what was described was a way of having a toggle between two files, but i want a toggel between n files.
The stuff I showed used a bash array, so just do:
themes=(theme1 theme2 theme3)
You'll have to use modulo "number of themes", which was the "total" variable in my last script.
So just making it:
themes=(theme1 theme2 theme3) rand=$(dd </dev/random bs=1 count=1 2>/dev/null|hexdump -e '/1 "%u"') total=${#themes[@]} open "${themes[$((rand % total))]}"
Should work. Though remeber to quote theme paths properly, though ~ won't expand in double quotes, so use $HOME instead.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate