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 [...]
[Permalink |
15 Comments]
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 [...]
[Permalink |
0 Comments]
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...
[Permalink |
3 Comments]
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...
[Permalink |
4 Comments]
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...
[Permalink |
0 Comments]
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 [...]
[Permalink |
0 Comments]
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 [...]
[Permalink |
0 Comments]
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...
[Permalink |
2 Comments]