[TxMt] Re: about cut and paste the whole line

Hans-Jörg Bibiko bibiko at eva.mpg.de
Mon Oct 13 06:32:00 UTC 2008


On 13.10.2008, at 05:40, Steve Chu wrote:

> Hi, all,
>
> I'v been a Vim user for a long time. There's a shortcut 'dd' in vim
> command mode to cut a line, then use 'yy' to paste it. I haven't found
> any corresponding way to make this done in textmate, could anybody
> here give some advise? Thanks in advance.

There're several ways.

-SHIFT+APPLE+L to select entire line
-CTRL+APPLE+ARROW_UP/DOWN to move line


or
record a macro:
-SHIFT+APPLE+L to select entire line
-APPLE+X to cut

then with APPLE+V paste

--Hans



More information about the textmate mailing list