<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>punkracy dot com: Textmate for Linux</title>
    <link>http://punkracy.com/articles/2007/02/08/textmate-for-linux</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Textmate for Linux</title>
      <description>&lt;p&gt;Finally I did it. I&amp;#8217;ve changed my blog engine to typo, and I&amp;#8217;ve changed my language to English. Because of that please give me some feedback, when I make some (or lots of) grammar mistakes.&lt;/p&gt;


	&lt;p&gt;For the first, inauguration post I&amp;#8217;ll describe my search for nice &amp;#8220;editor&amp;#8221; for rails development. Everybody knows that most popular, and beautiful is &lt;a href="http://macromates.com/"&gt;Textmate&lt;/a&gt; ;p. Editor that became standard, and prototype that everyone want to duplicate. I know that &amp;#8220;de gustibus non disputatum est&amp;#8221; so first I present some other products and then my final choice (for now :) )&lt;/p&gt;


	&lt;p&gt;At the begging I&amp;#8217;ve used &lt;a href="http://www.radrails.org/"&gt;RadRails&lt;/a&gt;. It was quite nice, but first I had some problems running it on amd64 (you need to pay attention to java version &amp;#8211; 32 bit). Now I have ubuntu 32bit, so then some new problems showed up. First of all I needed some other plugins, like for html, css and so on. So I started to use &lt;a href="http://www.easyeclipse.org/site/distributions/lamp.html"&gt;EasyEclipse &lt;span class="caps"&gt;LAMP&lt;/span&gt;&lt;/a&gt; which has everything that I need. But finally I thought it&amp;#8217;s to big for me. I&amp;#8217;ve used snippets from &lt;a href="http://drnicwilliams.com/2006/11/06/post-halloween-radrails-trick-all-textmate-snippets-available/"&gt;here&lt;/a&gt; and theme form &lt;a href="http://drnicwilliams.com/2006/08/08/textmate-theme-for-radrails/"&gt;there&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve also tried to use jEdit, &lt;a href="http://blog.zabiello.com/articles/2007/01/30/jedit-for_rails"&gt;prepared&lt;/a&gt; by colleagues from &lt;a href="http://forum.rubyonrails.pl"&gt;Polish Ruby on Rails forum&lt;/a&gt;. I&amp;#8217;ve got some errors during usage, and I can say that it isn&amp;#8217;t most beautiful editor I saw. Yes, yes.. I know that it&amp;#8217;s only tool, and you should write software not admire themes.. but like &lt;a href="http://media.rubyonrails.org/presentations/programminghappiness.pdf"&gt;&lt;span class="caps"&gt;DHH&lt;/span&gt; said&lt;/a&gt; (and not only him) motivation is really important during development process. Motivation comes from happiness, and I feel really happy writing my code in beautiful environment :)&lt;/p&gt;


I should come to the crux of the matter, so I want to present you how to make gedit to be your mate, to look and work like Textmate.
	&lt;h4&gt;Step 1&lt;/h4&gt;


	&lt;p&gt;Install gedit and gedit-plugins.&lt;/p&gt;


	&lt;h4&gt;Step 2&lt;/h4&gt;


	&lt;p&gt;Go to Edit-&amp;gt;Preferences-&amp;gt;Plugins
Make &amp;#8220;Snippets&amp;#8221; plugin available. Get ruby and erb snippets from &lt;a href="http://assente.altervista.org/?q=snippets_di_ruby_on_rails_in_gedit"&gt;here&lt;/a&gt; and copy them to
&lt;code&gt; ~/.gnome2/gedit/snippets &lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;You can check them in Edit-&amp;gt;Preferences-&amp;gt;Plugins-&amp;gt;Snippets &amp;#38; Configurate plugin&lt;/p&gt;


	&lt;h4&gt;Step 3&lt;/h4&gt;


Get more plugins..
	&lt;ol&gt;
	&lt;li&gt;&lt;a href="http://eddt.mbrio.org/"&gt;Eddt&lt;/a&gt; for nice directory browsing plugin&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://www.stambouliote.de/projects/gedit_plugins.html"&gt;Class browser&lt;/a&gt; for class browser&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://www.upperbound.net/upperbound/show/SnapOpen+plugin+for+Gedit"&gt;Snap Open&lt;/a&gt; for opening files based on regexp.
At the same site there is set of files with textmate colors and font settings, but I set them manually.&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;Optionally you can install &lt;a href="http://live.gnome.org/Gedit/Plugins"&gt;others&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;You will get something like:&lt;/p&gt;


	&lt;p&gt;&lt;a href="/files/geditmate.png"&gt;&lt;img src="/files/geditmate_m.png" title="gedit like textmate" alt="gedit like textmate" /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;&lt;a href="/files/gedit_classb.png"&gt;&lt;img src="/files/gedit_classb_m.png" title="gedit like textmate" alt="gedit like textmate" /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;that&amp;#8217;s all for now&lt;/p&gt;</description>
      <pubDate>Thu, 08 Feb 2007 01:32:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:1a3cc668-769f-4086-9cc4-ff40c636971c</guid>
      <author>Krzysztof Rączkiewicz</author>
      <link>http://punkracy.com/articles/2007/02/08/textmate-for-linux</link>
      <category>en</category>
      <category>linux</category>
      <category>textmate</category>
      <category>ruby</category>
      <category>rails</category>
      <category>radrails</category>
      <category>easyeclipse</category>
      <category>jedit</category>
      <category>gedit</category>
    </item>
    <item>
      <title>"Textmate for Linux" by shawn</title>
      <description>you may want to check out scribes.
it is a little different, but has a great feel to it. has features like snippets, auto-closing of brackets, auto indent, syntax highlighting. etc....

</description>
      <pubDate>Sun, 18 Mar 2007 18:26:31 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:820b33e8-c97a-4153-96d0-2818567900ef</guid>
      <link>http://punkracy.com/articles/2007/02/08/textmate-for-linux#comment-10</link>
    </item>
    <item>
      <title>"Textmate for Linux" by Stoffe</title>
      <description>The subversion version of Class browser has a dedicated Ruby parser now, so you get a nice tree (and it supports RSpec, too). It works well for a big number of Ruby files, but I'm interested in knowing about files that fail so it can be fixed, or any other comments about it. Find my email in the source file. ;-)

Thanks.

Otherwise, thanks for the links.
</description>
      <pubDate>Fri, 16 Mar 2007 01:11:31 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:662b2cb4-7b1b-4c68-8691-99aec1597a5d</guid>
      <link>http://punkracy.com/articles/2007/02/08/textmate-for-linux#comment-9</link>
    </item>
    <item>
      <title>"Textmate for Linux" by punkracy</title>
      <description>Yes it does. I've added new screenshot to show you that.</description>
      <pubDate>Sat, 17 Feb 2007 20:18:39 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:bece5cf1-c72c-43ed-b455-2b1c26c4ec7f</guid>
      <link>http://punkracy.com/articles/2007/02/08/textmate-for-linux#comment-3</link>
    </item>
    <item>
      <title>"Textmate for Linux" by assente</title>
      <description>Hi nice article.. but does the class browser work with ruby class, too?
ciao</description>
      <pubDate>Fri, 16 Feb 2007 00:59:32 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:cb473998-388f-44b3-9907-d8a7b86d541d</guid>
      <link>http://punkracy.com/articles/2007/02/08/textmate-for-linux#comment-2</link>
    </item>
  </channel>
</rss>
