Textmate tricks- open ftp files in tabs,keybindings changes and codebrowser
After searching through editors for Os X, that can go as close as possible to Quanta, my former editor in linux, before I switched to mac, and not founding anything close - or better said close to my habits - I finished choosing 3 editors - Coda, skEdit, and TextMate.
Coda is nice, but I miss auto-completion, as I was used with , skEdit does a really good job, but I miss a codebrowser panel , and again the auto-completion.
Well, now it comes TextMate.
I wanted for it a codebrowser - i need to see my functions, classes and variables - so i used this plugin TmCodeBrowser . Is not a real panel, but I moved it to the right side of the screen, set normal panel and visible on launch, resized the main window until it touch the edge of codebrowser, and seems ok.
What was very unpleasant for me, was that without a project, files were opening in individual windows. I like my desktop clear, so a file tabs solution would be nice. To fix this, in conjunction with using an external ftp manager - I use ForkLift - I had to create a project, and set to it the folder used by ForkLift to cache it’s files
~/Library/Caches/com.binarynights.ForkLift/
save the project, and take care to have it opened before opening a remote file.
Another thing was the autocomplete feature TextMate it has. I would like to have a classical dropdown, but i think this is the way it reach the speed it has in presenting a suggestion. For a >7000 lines source code, on my G4, other apps become slow, so I get used with this behaviour. What I did not get used with is that key Esc is binded to do operation. Is far, is small and almost always i was pressing the ` key. So I edited the
/Applications/TextMate.app/Contents/Resources/KeyBindings.dict - don’t forget to back-up -
and added this line -
“~ ” = “nextCompletion:”;
that means alt(option) key with spacebar will perform the completion.
I am sure lot of other tricks exist to make TextMate an easier and more pleasant companion for new users of mac, so if you know some, please share.
Thanks.

You really don’t want to edit
/Applications/TextMate.app/Contents/Resources/KeyBindings.dictdirectly, as it will be overwritten every time you update the app. Instead, copy that file to~/Library/Application Support/TextMate, and then edit it there to your heart’s content.