I'm look for a key binding to move the cursor to the beginning (or end) of the current block - anyone have any ideas? Thanks Simon
ctrl-option-b command-shift-b (selecting things enclosed by braces, parenthesis, curly braces)
Also, in ruby, if I want to select a function, I put my cursor over the "def" keyword, and press shift-option-down. It selects all the way down to "end".
Tim
On Mar 21, 2008, at 7:45 AM, Simon Olsberg wrote:
I'm look for a key binding to move the cursor to the beginning (or end) of the current block - anyone have any ideas? Thanks Simon
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 3/21/08, Tim Harper timcharper@gmail.com wrote:
ctrl-option-b command-shift-b (selecting things enclosed by braces, parenthesis, curly braces)
Also, in ruby, if I want to select a function, I put my cursor over the "def" keyword, and press shift-option-down. It selects all the way down to "end".
That's not what it really does. It really appears to be finding something below with the same indentation level, or quoting the help file:
"Using arrow up/down with ⌥ will move the caret to the first/last row in the current column. Hold down ⇧ to get it selected."
On Mar 21, 2008, at 10:04 AM, Rick DeNatale wrote:
On 3/21/08, Tim Harper timcharper@gmail.com wrote:
ctrl-option-b command-shift-b (selecting things enclosed by braces, parenthesis, curly braces)
Also, in ruby, if I want to select a function, I put my cursor over the "def" keyword, and press shift-option-down. It selects all the way down to "end".
That's not what it really does. It really appears to be finding something below with the same indentation level, or quoting the help file:
"Using arrow up/down with ⌥ will move the caret to the first/last row in the current column. Hold down ⇧ to get it selected."
.... which happens to be a great way to select the current function :)
-- Rick DeNatale
My blog on Ruby http://talklikeaduck.denhaven2.com/
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Mar 21, 2008, at 10:04 AM, Rick DeNatale wrote:
On 3/21/08, Tim Harper timcharper@gmail.com wrote:
ctrl-option-b command-shift-b (selecting things enclosed by braces, parenthesis, curly braces)
Also, in ruby, if I want to select a function, I put my cursor over the "def" keyword, and press shift-option-down. It selects all the way down to "end".
That's not what it really does. It really appears to be finding something below with the same indentation level, or quoting the help file:
"Using arrow up/down with ⌥ will move the caret to the first/last row in the current column. Hold down ⇧ to get it selected."
... which happens to be a great way to select a function in ruby! :)
-- Rick DeNatale
My blog on Ruby http://talklikeaduck.denhaven2.com/
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Mar 21, 2008, at 9:45 AM, Simon Olsberg wrote:
I'm look for a key binding to move the cursor to the beginning (or end) of the current block - anyone have any ideas? Thanks Simon
If you check out the experimental bundle, there's a macro I wrote that selects the current folding group. If you don't like the selection it makes, have no fear, it's undoable!
—Thomas Aylott – subtleGradient—