Textmate

hi all,
I know this is a bit off-topic but perhaps can help me
i want to use tab to move more than one line of my rails code to the
right or left
I think it is called intend
I am using textmate on my mac
On a windows machine you can do that by tab and shift-tab
in the textmate snippets it says something ^[ but this will not work
most of the shortcuts are not working - anybody an idea why not?

thanks for any help
andreas

Hi Andreas,

On 11/17/06, Andreas S. [email protected] wrote:

i want to use tab to move more than one line of my rails code to the
right or left
I think it is called intend
I am using textmate on my mac

Use Command[ and Command] to shift text to the left and right
respectively - also accessible through the “Text” menu item.

You may want to have a look at the TextMate screencast
(http://macromates.com/screencasts) for some great tutorials on using
TextMate.

  • glenn

Use Command[ and Command] to shift text to the left and right
respectively - also accessible through the “Text” menu item.

You may want to have a look at the TextMate screencast
(http://macromates.com/screencasts) for some great tutorials on using
TextMate.

hi glenn,

thats what I tried - but no luck
on the textmate wiki i found that I need to use OPTION-TAB and
OPTION-SHIFT-TAB
when I look at the preferences and settings - it says your shortcut with
“[” - but this is not working - also many other settings are not
working. could it be a problem of a german keyboard?

thanks
andreas

For me I select the block I want to indent or outdent(?) and I use
Option(alt)-Tab and Option-Shift-Tab

The keyboard is quite possibly a factor. I can’t remember what a mac
qwertz keyboard is like, but I think (from my experience with french
keyboards) that if you need to hit modifiers to get a [ then you’ll need
the same ones to indent, i.e. if to type a [ you need to hit shift )
then you’d need to type command-shift ) to indent

Fred