textmate

Is there a shortcut for jumping to the end or the begin from a scope?

Hi I know from vim the % to move to associated ( ), { }, [ ]. How can I do that in textmate? ...

Change language being spell-checked in Textmate

In OS X applications such as Mail and Firefox you can right click in a text field and change the language being spell-checked. I can't figure out how to do the same in Textmate. Can it be done easily, and if, how? ...

PHP custom class and function autocompletion in TextMate project

Is there a bundle which completes my custom classes and functions in a TextMate project? Like the code hints with PHP core functions? ...

Best way to edit Linux server configuration files on Mac OS X?

I'm used to editing my remote Ubuntu server through SSH and Nano. I've tried using Vim and Emacs but since I don't manage the server frequently enough I never quite get the hang of it and end up forgetting the commands. I use TextMate daily for programming and was wondering if there's any counter-recommendation against mounting the serv...

Textmate newbie question: how to indent CSS

New to TextMate and can't find the answer in the documentation. I've saved an empty file as CSS and the 'active bundle' is showing as CSS, at the bottom of the screen. I've then pasted in a bunch of CSS from elsewhere (a minified page). However, it's all pasted in as a single line. How can I indent it to look like 'proper' CSS, usi...

How to quickly find file in the workspace/switch between buffers/etc. in Eclipse?

I am looking for something like Textmate's fuzzy search on Command-T, FuzzyFinder in Vim, or Ido in Emacs. Does it exist? If no, how do you prefer to do it? ...

How to correctly configure xdebug.file_link_format ?

I want error messages outputed by xdebug to show up as links in the browser so I can open them quickly using TextMate. I added the following line to my php.ini file, restarted apache and added a few syntax errors to one of my php scripts but the file name is not showing up as a link. Xdebug is otherwise working fine on my system. xdebu...

Intel and AT&T assembly syntax highlighting in TextMate

How do I get Intel and AT&T assembly syntax highlighting in TextMate? ...

git tmbundle for textmate - where is the checkout for the branch?

hi! i'm actually using the git tmbundle for textmate. really useful! unfortunately i miss the checkout, so i can't "merge" the branch to the master. anyone know where is it? thanks in advance :) ...

Develop Rails app on Mac using with TextMate Tutorial

I've found this a somewhat dated tutorial for developing a Rails application on Leopard with XCode. Wondering if anyone knows of a more up-to-date (ideally Mac based) tutorial that uses TextMate (or XCode if it's indeed preferred, or even just the command line). TextMate is appealing to me but wondering how to work scrips like ruby scr...

TextMate Theme Select Attribute Value

Hello, I need to change the color of certain attributes/tags. I am switching from Dreamweaver and making the skin has been really hard in TextMate. As you can see, I want to change the a and img tags along with all of their attributes. The closest I've come to find is entity.other.attribute-name which only works with id for some reas...

Autocomplete in Textmate

Sometimes I watch screen casts where someone is using text mate. I'm a rails developer, so these are rails screen casts. They'll type something like: def for example and "end" will automatically appear underneath. I do have the bundle for Rails enabled - why doesn't this happen for me? Thanks! ...

Textmate tab and de-tab selected block

Recently switched to Textmate on Mac for coding. On PC when ever I want to tab in or out a block of code I just highlight and press tab or shift+tab to move it in our out. It's very useful when you are adding an extra loop or conditional statement to a block of code to keep everything tidy and neatly indented. On Textmate however when...

Wrapping selecting text in enclosing characters in Emacs

In Textmate I can wrap enclosing characters ('(', '[', '"', etc.) around text by selecting it and hitting the opening character. For example, if I select word and hit (, it will become (word). What does Emacs call this feature and how do I enable it? ...

Does TextMate has an easy way to indent 2 spaces for an HAML file?

I look around for the preferences in TextMate and there seems to be no method to set the indent to 2 spaces when we highlight some code and choose Text -> Shift Right Right now it is indenting 4 spaces but is there a way to make it 2? ...

Problem in making custom syntax highlighting in TextMate. Help!

Hi, I am trying to highlight a custom language in TextMate. However, the following definition does not highlight PHP insertions (I do select it for my *.serpent files): { scopeName = 'source.serpent'; fileTypes = ( 'serpent' ); patterns = ( { begin = '<\?'; end = '\?>'; patterns = ( { include = 'source.php'; } ); }, ); } ...

TextMate/Macfusion combo for mounting projects over SSH

Here is my workflow: I use Macfusion to mount a server over SSH, and then edit the root directory of the project in TextMate (using mate /Volumes/server/projectdir). I have a plug in installed that disables refreshing on refresh. This works ALMOST perfectly--the only thing I have problems with is "Find in Project": it's REALLY slow. Has ...

textmate snippets and tabs

hello, i'm using snippets in textmate a lot -- especially for adding API documentation to my sources. you can define placeholders in a snippet and you can use TAB / SHIFT+TAB to jump between those placeholders. my question is: is it still somehow possible to insert a tab at the current cursor position inside a placeholder position ...

TextMate: Conditional formatting?

I want to be able to color lines differently based on the starting character. eg.: - This is line 1 - This is line 2 x This is line 3 - This is line 4 x This is line 5 So lines 1,2,4 (starting with '-') should be blue while lines 3,5 (starting with 'x') should be red. Is this possible? How would you do it? Thanks. ...

Smooth scrolling and syntax highlighting in MacVim

Is there any way to get MacVim to scroll more smoothly TextMate style? While I'm here, is there a syntax file I can edit to add syntax highlighting to files? I have Velocity .vhtml files which are largely regular HTML with a bit of VTL thrown in. If I could just add .vhtml as an extension to the HTML syntax highlighter that would alread...