Alcor (nickname for the developer of Quicksilver)
is
compiling a huge list of user defaults. User defaults
include things like if you want the Safari debug menu to show up, if you want the dock to [...]

Continue Reading this Entry...

I Like This Tip!


Snippets have become one of the must-have features in text editors thanks mainly to TextMate. Most editors now have
their own version of them; of course TextMate has it’s snippets capability built-in by default, Emacs has
snippet.el, VIM has the SnippetsEmu script (and some others [...]

Continue Reading this Entry...

I Like This Tip!


Over at the vim_mac Google Group they got MacVim’s own version of Edit in TextMate (see this post) working.

To install:

Install MacVim
Download and mount this disk image here.
In the terminal do:
defaults write org.slashpunt.edit_in_odbeditor ODBEditorBundleIdentifier “org.vim.MacVim”
defaults write org.slashpunt.edit_in_odbeditor ODBEditorName MacVim
sudo mkdir /Library/InputManagers
sudo cp -pR “/Volumes/Vim/Edit in ODBEditor” /Library/InputManagers
sudo chown -R root:admin /Library/InputManagers

Then restart the [...]

Continue Reading this Entry...

I Like This Tip!


One of my favorite things about TextMate and one the things that keeps bringing be back from Vim is how well it integrates with OSX. One example of this is the “Edit in TextMate” InputManager. To get it to work go to Bundles –> TextMate –> Install “Edit in TextMate”… If you’re on Tiger you’re [...]

Continue Reading this Entry...

I Like This Tip!


Macros are for repetitive tasks that require the same series of actions over and over again. TextMate’s macro engine is similar to something like the Script Editor and the latest Automator’s “Record” function. Or could be compared to recording a video and then watching be played over and over again. Where in this case you [...]

Continue Reading this Entry...

I Like This Tip!


Another feature of TextMate Snippets are Transformations. Transformations are Mirrors (see last TextMate part) with small modifications. One of the most powerful features of TextMate is it’s implementation of the Regular Expression¹ engine which Transformation use to adjust the mirrored text. Here’s an example:

- (id)foo
{
return foo;
}

- (void)setFoo:(id)aValue
{
[foo [...]

Continue Reading this Entry...

I Like This Tip!


Another handy TextMate Snippets feature is mirroring. One use for this would be if you wanted to make a header where the text displayed is the header’s id name.

Example seen here:

This is created simple by evoking this snippet:
< h1 id="$1">$1< /h1>
(Had to add spaces in tags.)
For me since the activation string is “h1″, all [...]

Continue Reading this Entry...

I Like This Tip!


Without a question my favorite Mac app currently is TextMate. TextMate has a lot of power in itself, but it wouldn’t be near as powerful as it is without it’s Open Source like community (even though the app itself remains Closed, developed by Allan Odgaard). Since there is no way that I could ever sum [...]

Continue Reading this Entry...

I Like This Tip!




MacTips Newsletter


Twitter MacTips

  • Stay up to date with the latest Mac tips, tricks and news by following us on twitter: MacintoshTips.

AppleGazette Headlines

Most Popular Tips (30 Days)

Most Commented (30 Days)

Good Tips

Recent Discussions

MacTips Poll

What level of tips would you like to see?

View Results

Loading ... Loading ...

Friends of MacTips

Subscribe to MacTips

Site Links