[txmt-dev] Re: Allow ^⌘↓ to move selection to bottom

Allan Odgaard mailinglist at textmate.org
Tue Jul 1 09:35:24 UTC 2014


On 26 Jun 2014, at 16:48, Tim Bates wrote:

> Anyone else wish that "Text:Move Selection:Down" (^⌘↓) could 
> toggle the selection with the bottom line?

I assume you’re speaking of the case where the last logical line does 
not have a terminating newline.

What you can do is place the caret at the beginning of the last line and 
press ⌃T to toggle with the line above.

For the “move selection” it’s an unhandled edgecase because it’s 
rather messy to implement (as it should either INSERT a newline or 
change the definition of the line moved to not include the newline, but 
that fails when there already is a selection, which currently there 
always is).


More information about the textmate-dev mailing list