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 ;.