Otherwise, there is Control-K/Control-Y. Control-K cuts the current line starting from the caret, Control-Y pastes it back. Not exactly what you need, but it works in at least one other app (TextEdit). Please note that it does *not* use the pasteboard and as a consequence it cannot be used between different applications.
Édouard GILBERT edouard.gilbert@gmail.com
Le 13 oct. 08 à 08:46, Hans-Jörg Bibiko a écrit :
On 13.10.2008, at 08:41, Steve Chu wrote:
It will be very nice if there is a official shortcut as Fred said '⌘⌥X'. Because this situation is very common in daily programming.
Well, for at least it's more likely to move not only one line, thus to select something and to move the whole bunch (CTRL+APPLE+ARROW_UP/ DOWN/ RIGHT/LEFT) is more flexible. But this is the power of TM if you have your preferences well create your own environment ;)
--Hans
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate