Dr Nic

Trialing RedCar instead of TextMate – replacing my aliases

I’m interested to trial RedCar in my life, instead of TextMate. So I need RedCar
to appear on my screen whenever I think “give me an editor”.

I’ve had m bound to TextMate for years. I also have it set to my $EDITOR variable, so it is launched by git commands, etc.

To change the default to RedCar, and to allow me to toggle between RedCar and TextMate, AND to allow me to use Edge RedCar (from source instead from a RubyGem).

This file comes from my editor.sh file which is loaded into all shell terminals.

I can change to TextMate with:

use_textmate

Back to RedCar (via gem) or RedCar (from source):

use_redcar_gem
use_redcar_dev

Related posts:

  1. Packaging TextMate bundles in OS X DMGs Last week Engine Yard released a CLI for their Engine...
  2. Validate and Save your Ruby in TextMate – with secret Rubinus superpowers In some TextMate bundles, if you save a file it...

5 Responses to “Trialing RedCar instead of TextMate – replacing my aliases”

  1. Andruby says:

    Could you tell us how you like Redcar? This is the first time I hear of it, and I can’t really figure out what it does differently than Textmate. It being written in Ruby is obviously awesome, if it doesn’t slow down too much on big files/projects. Open source is another huge plus.

    I guess a lot of people are waiting for a worthy successor to Textmate :-)

  2. Dr Nic says:

    I’m too new to it to approve and/or dismiss it. I’m interested in making a commitment to it and see if I can help.

    I love the HTML tab view concept – you get free AJAX wiring from the HTML page back into a Ruby controller object. Immensely more powerful than the equivalent concept in TextMate.

  3. Hah! This reminds me of when we got @konstantinhaase to switch. Once we got him to replace his aliases, he started using Redcar without even thinking about it. One tip: Since initial startup time is very slow (afterwards we just use the existing instance), we have a “–no-window” switch which you can use to start Redcar on boot. This way you won’t have to wait 10s when you try to commit sth the first time after re-booting.

  4. Dr Nic says:

    @tim – is there a way to have RedCar start up on boot without the splash window and without the log dump as below?

    $ redcar --no-window
    Redcar 0.12.0dev ( x86_64-darwin10.6.0 )
    java -XstartOnFirstThread -d32 -client -Xbootclasspath/a:/Users/drnic/.redcar/assets/jruby-complete-1.6.1.jar -Dfile.encoding=UTF8 -Xmx320m -Xss1024k -Djruby.memory.max=320m -Djruby.stack.max=1024k org.jruby.Main /Users/drnic/Projects/ruby_apps/redcar/bin/redcar --no-window --no-sub-jruby --ignore-stdin  --start-time=1304094416
    Redcar 0.12.0dev ( java )
    conflicting keybinding Cmd+Shift+M: Redcar::Macros::RunLastCommand is being overwritten by Redcar::MarkupPreview::MarkupPreview::RenderMarkupPreview
    conflicting keybinding Ctrl+Shift+P: Redcar::Top::PrintScopeCommand is being overwritten by Redcar::MarkupPreview::MarkupPreview::RenderMarkupAuto
    conflicting keybinding Cmd+Shift+G: Redcar::DocumentSearch::DoFindPreviousCommand is being overwritten by Redcar::GoToGithub::ShowLineInGithubBlob
    conflicting keybinding Cmd+Shift+B: Redcar::Textmate::ShowSnippetTree is being overwritten by Redcar::GoToGithub::ShowLineInGithubBlame
    
  5. Just added a –no-splash option. Those things should go into the log, now we have one.