I'm trying textmate. How best to be introduced to this editor? Is there a tutorial anywhere -- especially a rails specific one?
DHH has a couple of movies featuring textmate. One is called def_end.mov and you can find it at http://media.nextangle.com/textmate/def_end.mov, referenced in his blog entry at http://www.loudthinking.com/arc/000270.html.
The movie shows what is happening, but doesn't indicate what keys are being pressed. He types
Summer
does something and it becomes
class Summer
end
etc. What key sequences are doing this expansion?
Thanks,
Hi,
I'm trying textmate. How best to be introduced to this editor? Is there a tutorial anywhere -- especially a rails specific one?
I don't intend to sound condescending, but you should try to at least look over the manual. Some sections that will be immediately helpful are:
* Working with Text [1] * Bundles [2]
The screencasts are real helpful too. http://macromates.com/screencasts
etc. What key sequences are doing this expansion?
The Tab key.
The "magical" expansions that you'll run across in the screencasts and what not are either "Snippets" or "Macros". Keep yours eyes open for those words as are you're perusing the manual and it should become a bit clearer.
HTH -steve
[1] http://macromates.com/textmate/manual/ working_with_text#working_with_text [2] http://macromates.com/textmate/manual/bundles#bundles
Steve
Thanks for the reply.
On Oct 27, 2006, at 10:08 AM, Steve Lianoglou wrote:
Hi,
I'm trying textmate. How best to be introduced to this editor? Is there a tutorial anywhere -- especially a rails specific one?
I don't intend to sound condescending, but you should try to at least look over the manual. Some sections that will be immediately helpful are:
I've spent some time in the manual. I hope you didn't write it. I find it difficult for a beginner to comprehend, namely me. I think I need something *before* I get into that manual -- something that steps me through some common operations. Also, I don't think the manual discusses details introduced by bundles, and I think that may be important. Please correct me if I'm wrong and I will definitely take another look at the sections you list below.
- Working with Text [1]
- Bundles [2]
The screencasts are real helpful too. http://macromates.com/screencasts
etc. What key sequences are doing this expansion?
The Tab key.
I must be missing something here. When I type tab, it appears to insert a tab. This makes sense to me when I am editing a general text file. But this is also the behavior when I create a file named Summer.rb in a rails models folder.
The "magical" expansions that you'll run across in the screencasts and what not are either "Snippets" or "Macros". Keep yours eyes open for those words as are you're perusing the manual and it should become a bit clearer.
HTH -steve
[1] http://macromates.com/textmate/manual/ working_with_text#working_with_text [2] http://macromates.com/textmate/manual/bundles#bundles
Thanks again.
-kelly
On Oct 27, 2006, at 7:28 PM, Kelly Felkins wrote:
Steve
Thanks for the reply.
On Oct 27, 2006, at 10:08 AM, Steve Lianoglou wrote:
Hi,
I'm trying textmate. How best to be introduced to this editor? Is there a tutorial anywhere -- especially a rails specific one?
I don't intend to sound condescending, but you should try to at least look over the manual. Some sections that will be immediately helpful are:
I've spent some time in the manual. I hope you didn't write it. I find it difficult for a beginner to comprehend, namely me. I think I need something *before* I get into that manual -- something that steps me through some common operations. Also, I don't think the manual discusses details introduced by bundles, and I think that may be important. Please correct me if I'm wrong and I will definitely take another look at the sections you list below.
Most Bundles I'm using have either commands with names that speak for themself (if you know what you are doing in the "language" you are using) and/or have a help embedded
- Working with Text [1]
- Bundles [2]
The screencasts are real helpful too. http://macromates.com/screencasts
etc. What key sequences are doing this expansion?
The Tab key.
I must be missing something here. When I type tab, it appears to insert a tab. This makes sense to me when I am editing a general text file. But this is also the behavior when I create a file named Summer.rb in a rails models folder.
you need to start the text of the snippet first -- after that you can "tab" e.g.: HTML-Bundle: type in a window which is set to html-mode "'mailto' tab" and you get a complete mailto-link…
Niels
Hey Kelly,
I just started using textmate about a month ago, so I can relate to your confusion from watching those screencasts. I've found that the best way for me to get accustomed to textmate is to explore the Bundle Editor (under Bundles >> Bundle Editor >> Show Bundle Editor or ctrl+option+cmd+B). I do web-app development in PHP and Rails, so looking at what the PHP, HTML, Javascript, CSS, SQL, and Rails bundles are capable of really helps out.
happy Hunting! === ~Adam
On Oct 27, 2006, at 12:28 PM, Kelly Felkins wrote:
Steve
Thanks for the reply.
On Oct 27, 2006, at 10:08 AM, Steve Lianoglou wrote:
Hi,
I'm trying textmate. How best to be introduced to this editor? Is there a tutorial anywhere -- especially a rails specific one?
I don't intend to sound condescending, but you should try to at least look over the manual. Some sections that will be immediately helpful are:
I've spent some time in the manual. I hope you didn't write it. I find it difficult for a beginner to comprehend, namely me. I think I need something *before* I get into that manual -- something that steps me through some common operations. Also, I don't think the manual discusses details introduced by bundles, and I think that may be important. Please correct me if I'm wrong and I will definitely take another look at the sections you list below.
- Working with Text [1]
- Bundles [2]
The screencasts are real helpful too. http://macromates.com/screencasts
etc. What key sequences are doing this expansion?
The Tab key.
I must be missing something here. When I type tab, it appears to insert a tab. This makes sense to me when I am editing a general text file. But this is also the behavior when I create a file named Summer.rb in a rails models folder.
The "magical" expansions that you'll run across in the screencasts and what not are either "Snippets" or "Macros". Keep yours eyes open for those words as are you're perusing the manual and it should become a bit clearer.
HTH -steve
[1] http://macromates.com/textmate/manual/ working_with_text#working_with_text [2] http://macromates.com/textmate/manual/bundles#bundles
Thanks again.
-kelly
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 Oct 27, 2006, at 12:28 PM, Kelly Felkins wrote:
I've spent some time in the manual. I hope you didn't write it. I find it difficult for a beginner to comprehend, namely me. I think I need something *before* I get into that manual -- something that steps me through some common operations.
Are you aware of the TextMate book, now in beta?
http://www.pragmaticprogrammer.com/titles/textmate/index.html
I've really tried to make it a lot more example-driven than the TextMate reference manual. Hopefully that makes for a better introduction.
James Edward Gray II
On 10/27/06, felkinator-tm@yahoo.com felkinator-tm@yahoo.com wrote:
I'm trying textmate. How best to be introduced to this editor? Is there a tutorial anywhere -- especially a rails specific one?
Soryu's tutorials[1] are a good start too.