[TxMt] toggle 'do ... end' / '{ ... }'

Martin html-kurs at gmx.de
Wed Dec 9 19:11:41 UTC 2009


Hi,

what do I have to do if I want to convert from
array.each { |e| puts e }
to
array.each do |e|
   puts e
end


I found the command toggle 'do ... end' / '{ ... }' but I don't know 
exactly how to use it. Where has the cursor to be positioned? Do I have 
to select any text?
The shortcut ^{ won't work because I have a German keyboard. But even if 
I choose the command from the menue nothing happens.

thanks,
Martin



More information about the textmate mailing list