# Textmate

**URL:** <https://www.ruby-forum.com/t/textmate/76300>\
**Category:** Rails\
**Created:** [November 17, 2006, 1:18pm UTC](https://www.ruby-forum.com/t/textmate/76300 "2006-11-17T13:18:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ee7513/32.png) [@andreas](https://www.ruby-forum.com/u/andreas)\
**Post date:** [November 17, 2006, 1:18pm UTC](https://www.ruby-forum.com/t/textmate/76300/1 "2006-11-17T13:18:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![andreas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ee7513/32.png) [@andreas](https://www.ruby-forum.com/u/andreas)\
**Post date:** [November 17, 2006, 1:35pm UTC](https://www.ruby-forum.com/t/textmate/76300/2 "2006-11-17T13:35:59Z")

</div>

Hi Andreas,

On 11/17/06, Andreas S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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](http://macromates.com/screencasts)) for some great tutorials on using  
TextMate.

- glenn

---

<div class="post-metadata">

**Author:** ![andreas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ee7513/32.png) [@andreas](https://www.ruby-forum.com/u/andreas)\
**Post date:** [November 17, 2006, 1:54pm UTC](https://www.ruby-forum.com/t/textmate/76300/3 "2006-11-17T13:54:55Z")

</div>

> 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](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

---

<div class="post-metadata">

**Author:** ![andreas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ee7513/32.png) [@andreas](https://www.ruby-forum.com/u/andreas)\
**Post date:** [November 17, 2006, 5:56pm UTC](https://www.ruby-forum.com/t/textmate/76300/4 "2006-11-17T17:56:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![andreas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ee7513/32.png) [@andreas](https://www.ruby-forum.com/u/andreas)\
**Post date:** [November 17, 2006, 2:06pm UTC](https://www.ruby-forum.com/t/textmate/76300/5 "2006-11-17T14:06:11Z")

</div>

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
