Hi,
I wonder how you guys keep your TextMate synced with among multiple Macs.
I noticed that BBEdit 9 added mobileme support.
Takaaki
On Mon, Sep 15, 2008 at 3:02 PM, Takaaki Kato mate@samuraicoder.com wrote:
I wonder how you guys keep your TextMate synced with among multiple Macs.
I noticed that BBEdit 9 added mobileme support.
What do you mean with synced? What do you want to be synced?
Niels
syncing bundles and preferences across machines (without mobileMe please) would be very cool.
On 15 Sep 2008, at 3:17 PM, Niels Kobschaetzki wrote:
On Mon, Sep 15, 2008 at 3:02 PM, Takaaki Kato mate@samuraicoder.com wrote:
I wonder how you guys keep your TextMate synced with among multiple Macs.
I noticed that BBEdit 9 added mobileme support.
What do you mean with synced? What do you want to be synced?
Niels
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Le 15-09-08 à 11:40, Timothy Bates a écrit :
syncing bundles and preferences across machines (without mobileMe please) would be very cool.
What I do is use the Dropbox service[1]. I copy the TextMate app support folders into the Dropbox folder and symlink it back to the original location. Then any changes are automatically copied up to the service and kept in sync across all of my machines.
[1]:http://www.getdropbox.com/
It's an awesome service - it just works. You can get 2G of space for free, and I believe they're rolling out a paid 50G plan this week.
Neil
I wonder how you guys keep your TextMate synced with among multiple Macs.
This isn't, strictly speaking a problem I have. I'm a one mac kind of guy, but I back things up and that might be helpful for you.
All of my custom commands/triggers/snippets, are in their own bundle (~/Library/Application\ Support/TextMate/Bundles) which I copy to a git repository that has all the essentials, and I sync that up to my web server.
When I've moved machines, or reinstalled, I just make sure that the textmate application support goes with me. So once the initial set up is done, everything new goes into "my" bundle and you can just back that up periodically, or write a script that cron/launchd can run regularly to back that up, and that seems to do it for me.
The second machine would just work in reverse, and I expect you can figure that one out.
Cheers, tycho ------- tycho(ish) @ garen@tychoish.com http://www.tychoish.com/ http://www.criticalfutures.com/ "don't get it right, get it written" -- james thurber
On 2008-Sep-15, at 9:02 AM, Takaaki Kato wrote:
I wonder how you guys keep your TextMate synced with among multiple Macs.
Preferences are simple enough that I just modify them manually. For Bundles I've created, I keep them in Subversion and have a script that updates them and also updates official bundles I've checked out to `/ Library/Application Support/`.
The script also reloads bundles if TextMate is running…
# if TextMate is currently running, reload the bundles if ( `ps -xc | grep -c TextMate` >= 1 ) then osascript -e 'tell application "TextMate" to reload bundles' endif
It's not an ideal solution. The real hard-core way to sync everything would probably be to rsync the preferences file, and the various `Application Support` paths, but that comes with many complications.
On 2008-Sep-15, at 12:29 PM, Rob McBroom wrote:
if ( `ps -xc | grep -c TextMate` >= 1 ) then osascript -e 'tell application "TextMate" to reload bundles' endif
I should mention that my script was written for `tcsh`, so this syntax will probably have to be modified to work in other shells.
I - as a web coder - use ExpanDrive to work directly on web servers and there I save TextMates project files.
I have no need to sync bundles, 'cause I update them too seldem and then I will sync them manually.
Bye, Tom
Thanks all for various suggestions.
I agree that preferences are seldom modified.
I have a few personal bundles, but I decided to put them on GitHub. Every week or so, I review what I wrote and try to come up with how I can improve the workflow if it's repetitive. And I end up with writing small scripts and keep them as bundles.
What I'm afraid is that I forget to `push` my bundles Friday at work, and spend the entire weekend with outdated versions of my bundles.
Thanks,
Takaaki