Posts Tagged “textmate”

I use TextMate on Mac OSX Mountain Lion to write notes. One thing I find myself needing a bunch is to insert the current date and time so I can track specific events. For instance if I am writing an article for Question-Defense.com and I am doing the initial formatting in TextMate, which is a typical scenario for me, I might take ten screenshots and I like to note the current date/time in case I get pulled away from the article writing for something else. So having a keyboard shortcut that outputs the current date/time is really valuable so I don’t have to type it out by hand. Below I describe how to install a OSX Service that will provide various date/time outputs via Keyboard Shortcuts. The OSX Service called WordService also provides a bunch of extra awesome services which I briefly touch on below as well.

Read the rest of this entry »

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , , , , , , , , , ,

Comments No Comments »

I recently got a Macbook Pro which is running OSX 10.6 and is the first MAC I have used as my primary computer. Setting it up has been like setting up the first computer I ever setup since I am used to setting up computers running Windows or Linux. Anyhow it has been a great learning experience so look out for a lot more articles related to OSX and Macbooks in the near future. Anyhow the below steps will assist you changing the default application that opens text files from TextEdit or TextEdit.app to TextMate or TextMate.app.

Read the rest of this entry »

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , , , , , , , , , ,

Comments No Comments »

On Windows I use Notepad++ religiously however since Notepad++ is not available for OSX I am trying to become familiar with TextMate. So far TextMate is pretty solid but there are a couple things that make it less convenient to use. One of the primary items I noticed almost immediately was the fact that TextMate does not support tabs in the same way that Notepad++ does. The good news is there is a work around where you can use tabs in a very similar manner. Use the information below to work with tabs in TextMate which if you are like me you require easy access to numerous text documents at the click of a button.

Read the rest of this entry »

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , , , , , , ,

Comments No Comments »

An alternative to the built-in search/find in TextMate is the Grep in Project command for Textmate. An even better alternative is AckMate. It can be downloaded here. Unzip the file, double click the file, and restart TextMate to fully install. After installing, go “Edit > Find > Search Project with AckMate…”

AckMate searches iteratively so that each match is displayed as it’s found and can even be clicked while searching in the background. The Mac keyboard shortcut is Control-Option-Command F (three adjacent keys to the left of the spacebar)

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , ,

Comments 1 Comment »

To convert multiple <img> tags in a single HTML file such as
<img src =”hello.jpg” alt = “hello” />

to Ruby on Rails ERB helpers in your .html.erb file like this:
<%= image_tag(“hello.jpg”) %>
Read the rest of this entry »

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , ,

Comments No Comments »