[TxMt] Smart Typing Question - Go To End Of Line
David Lee
david at davelee.com.au
Wed Mar 30 23:54:41 UTC 2005
On the topic of text, there is one thing which emacs handles really well.
Auto-fill mode hard wraps lines of text (on word endings) when you get past
n chars in a line. Alt-Q re-linebreaks a whole paragraph so it fits nicely
within n chars.
Any chance this could be done? Maybe it's already possible as a macro script
or similar .. ?
I really like it when I need it.
cheers
-----Original Message-----
From: Allan Odgaard [mailto:allan at macromates.com]
Sent: Thursday, 31 March 2005 9:16 AM
To: TM Users
Subject: Re: [TxMt] Smart Typing Question - Go To End Of Line
On Mar 31, 2005, at 1:02, kumar mcmillan wrote:
>> More efficiently than using the right arrow key? Like when you're
>> hitting the tab key for a snippet?
> cmd + right/left arrow will jump the cursor to the end/beginning of
> the line. I guess you could write a command that inserted a
> semi-colon at the end of a line automatically; I haven't tried it
> though. Smart typing Python code is a lot more fun than PHP :(
The C bundle contains 3 macros for this:
cmd-return: go to end of line, make a return
cmd-shift-return: go to end of line, set a ;, make a return
cmd-option-return: go to end of line, set a ;
I've grown so fond of these macros that I even have a set for text.* that
sets a . instead of a ;.
______________________________________________________________________
For new threads USE THIS: textmate at lists.macromates.com (threading gets
destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate
More information about the textmate
mailing list