I've realized I waste many precious milliseconds lifting my fingers up from their homes over to the arrow keys. Is there a key combination which will move the cursor left and right for me? How would I go about setting one up? thanks, -Morgan
On Tue, Jul 20, 2010 at 17:39, Morgan Packard morgan@morganpackard.com wrote:
I've realized I waste many precious milliseconds lifting my fingers up from their homes over to the arrow keys. Is there a key combination which will move the cursor left and right for me? How would I go about setting one up?
There is support for the standard emacs-like keys: C-f and C-b move the cursor to the right and left, respectively. For binding your own keys in TextMate, you could create a macro of the cursor motion you want. For binding such a thing (almost) system-wide, see this introduction: http://www.hcs.harvard.edu/~jrus/site/cocoa-text.html
HTH, Martin
Hi
Maybe this helps
ctrl+f moves cursor one character forward ctrl+b .. and backward
(hold alt/option to skip by word)
ctrl+a beginning of line ctrl+e .. and end of line
ctrl+n move to next line ctrl+p .. and to previous
Cheers,
On Tue, Jul 20, 2010 at 9:24 PM, Morgan Packard morgan@morganpackard.comwrote:
I've realized I waste many precious milliseconds lifting my fingers up from their homes over to the arrow keys. Is there a key combination which will move the cursor left and right for me? How would I go about setting one up? thanks, -Morgan
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Thanks Michael, and Martin, I'll start with the emacs keys, and will perhaps create some of my own if the emacs keys don't sit well enough in my fingers. -Morgan
On Tue, Jul 20, 2010 at 9:48 AM, Michael Bøcker-Larsen mblarsen@gmail.comwrote:
Hi
Maybe this helps
ctrl+f moves cursor one character forward ctrl+b .. and backward
(hold alt/option to skip by word)
ctrl+a beginning of line ctrl+e .. and end of line
ctrl+n move to next line ctrl+p .. and to previous
Cheers,
On Tue, Jul 20, 2010 at 9:24 PM, Morgan Packard morgan@morganpackard.comwrote:
I've realized I waste many precious milliseconds lifting my fingers up from their homes over to the arrow keys. Is there a key combination which will move the cursor left and right for me? How would I go about setting one up? thanks, -Morgan
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
--
Michael Bøcker-Larsen
e: mblarsen@gmail.com m: +9779840050779 p: +--[ RSA 2048]----+ | | | . | | * | | B o | | . S * | | . o. o o | | = .E | | . +*+ | | oB* | +-----------------+
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Now, how would I go about selecting text while using these? -m-
On Tue, Jul 20, 2010 at 9:48 AM, Michael Bøcker-Larsen mblarsen@gmail.comwrote:
Hi
Maybe this helps
ctrl+f moves cursor one character forward ctrl+b .. and backward
(hold alt/option to skip by word)
ctrl+a beginning of line ctrl+e .. and end of line
ctrl+n move to next line ctrl+p .. and to previous
Cheers,
On Tue, Jul 20, 2010 at 9:24 PM, Morgan Packard morgan@morganpackard.comwrote:
I've realized I waste many precious milliseconds lifting my fingers up from their homes over to the arrow keys. Is there a key combination which will move the cursor left and right for me? How would I go about setting one up? thanks, -Morgan
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
--
Michael Bøcker-Larsen
e: mblarsen@gmail.com m: +9779840050779 p: +--[ RSA 2048]----+ | | | . | | * | | B o | | . S * | | . o. o o | | = .E | | . +*+ | | oB* | +-----------------+
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 20 Jul 2010, at 17:01, Morgan Packard wrote:
Now, how would I go about selecting text while using these?
If bundles haven't overriden the combos (shift-ctl-b comes to mind as one that's been nicked by a bundle command) hold shift whilst invoking the combo.
C --- Caius Durling caius@caius.name +44 (0) 7960 268 100 http://caius.name/
In the javascript bundle, shift-ctl-b creates a beautiful comment banner :(
On Tue, Jul 20, 2010 at 10:05 AM, Caius Durling caius@caius.name wrote:
On 20 Jul 2010, at 17:01, Morgan Packard wrote:
Now, how would I go about selecting text while using these?
If bundles haven't overriden the combos (shift-ctl-b comes to mind as one that's been nicked by a bundle command) hold shift whilst invoking the combo.
C
Caius Durling caius@caius.name +44 (0) 7960 268 100 http://caius.name/
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Tue, Jul 20, 2010 at 12:01 PM, Morgan Packard morgan@morganpackard.com wrote:
Now, how would I go about selecting text while using these? -m-
Add the shift key while moving the cursor.
Also the Emacs keybindings are easier on the fingers if you map the caps lock key to control. Just bring up the Keyboard system preferences pane, select the Keyboard tab, and press the Modifier Keys button, and choose the ^ Control action for the caps lock key.
Great tip. Thanks!
---------- Forwarded message ---------- From: Rick DeNatale rick.denatale@gmail.com Date: Tue, Jul 20, 2010 at 10:21 AM Subject: [TxMt] Re: Alternate to arrow keys for moving cursor left/right? To: TextMate users textmate@lists.macromates.com
On Tue, Jul 20, 2010 at 12:01 PM, Morgan Packard morgan@morganpackard.com wrote:
Now, how would I go about selecting text while using these? -m-
Add the shift key while moving the cursor.
Also the Emacs keybindings are easier on the fingers if you map the caps lock key to control. Just bring up the Keyboard system preferences pane, select the Keyboard tab, and press the Modifier Keys button, and choose the ^ Control action for the caps lock key.
-- Rick DeNatale
Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
_______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
I am totally failing to understand why the usual Opt-arrow keys aren't acceptable for you... is there some advantage to having to learn a whole bunch of new key commands? maybe I'm just missing the point.
BUT - now that I think about it - there is one issue that I'd like to know about. why is it that in TM (and in TM only) the Cmd-arrow keys aren't bound to the end-of-line functionality?
On Jul 20, 2010, at 9:01 AM, Morgan Packard wrote:
Now, how would I go about selecting text while using these? -m-
On Tue, Jul 20, 2010 at 9:48 AM, Michael Bøcker-Larsen mblarsen@gmail.com wrote: Hi
Maybe this helps
ctrl+f moves cursor one character forward ctrl+b .. and backward
(hold alt/option to skip by word)
ctrl+a beginning of line ctrl+e .. and end of line
ctrl+n move to next line ctrl+p .. and to previous
Cheers,
On Tue, Jul 20, 2010 at 9:24 PM, Morgan Packard morgan@morganpackard.com wrote: I've realized I waste many precious milliseconds lifting my fingers up from their homes over to the arrow keys. Is there a key combination which will move the cursor left and right for me? How would I go about setting one up? thanks, -Morgan
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
--
Michael Bøcker-Larsen
e: mblarsen@gmail.com m: +9779840050779 p: +--[ RSA 2048]----+ | | | . | | * | | B o | | . S * | | . o. o o | | = .E | | . +*+ | | oB* | +-----------------+
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Tue, Jul 20, 2010 at 20:12, plastichairdoo plastichairdoo@gmail.com wrote:
BUT - now that I think about it - there is one issue that I'd like to know about. why is it that in TM (and in TM only) the Cmd-arrow keys aren't bound to the end-of-line functionality?
Because TM, exactly like, say, Xcode, is at least partially meant for programming, and Ctrl-Arrows for moving between InterCappedWords is more helpful than having another semi-standard binding for the ubiquitous really-standard Cmd-Arrow keys. I’d guess.
Martin
On 20 Jul 2010, at 19:12, plastichairdoo wrote:
BUT - now that I think about it - there is one issue that I'd like to know about. why is it that in TM (and in TM only) the Cmd-arrow keys aren't bound to the end-of-line functionality?
Err. Mine are.
cmd-left is start of line cmd-right is end of line cmd-up is start of file cmd-down is end of file
Or am I missing what you mean?
C --- Caius Durling caius@caius.name +44 (0) 7960 268 100 http://caius.name/
I can work faster if I don't have to lift my fingers out of their "home" positions. To get to the arrow keys, I have to lift my fingers, look down at the keyboard, and re-place my fingers. I'm finding using the emacs keys much more comfortable and quick.
Learning a whole set of key commands does take some time, but when you spend eight hours a day slinging text, is well worth it, I think.
-m-
On Tue, Jul 20, 2010 at 12:12 PM, plastichairdoo plastichairdoo@gmail.comwrote:
I am totally failing to understand why the usual Opt-arrow keys aren't acceptable for you... is there some advantage to having to learn a whole bunch of new key commands? maybe I'm just missing the point.
BUT - now that I think about it - there is one issue that I'd like to know about. why is it that in TM (and in TM only) the Cmd-arrow keys aren't bound to the end-of-line functionality?
On Jul 20, 2010, at 9:01 AM, Morgan Packard wrote:
Now, how would I go about selecting text while using these? -m-
On Tue, Jul 20, 2010 at 9:48 AM, Michael Bøcker-Larsen <mblarsen@gmail.com
wrote:
Hi
Maybe this helps
ctrl+f moves cursor one character forward ctrl+b .. and backward
(hold alt/option to skip by word)
ctrl+a beginning of line ctrl+e .. and end of line
ctrl+n move to next line ctrl+p .. and to previous
Cheers,
On Tue, Jul 20, 2010 at 9:24 PM, Morgan Packard <morgan@morganpackard.com
wrote:
I've realized I waste many precious milliseconds lifting my fingers up from their homes over to the arrow keys. Is there a key combination which will move the cursor left and right for me? How would I go about setting one up? thanks, -Morgan
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
--
Michael Bøcker-Larsen
e: mblarsen@gmail.com m: +9779840050779 p: +--[ RSA 2048]----+ | | | . | | * | | B o | | . S * | | . o. o o | | = .E | | . +*+ | | oB* | +-----------------+
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 20 Jul 2010, at 20:12, plastichairdoo wrote:
BUT - now that I think about it - there is one issue that I'd like to know about. why is it that in TM (and in TM only) the Cmd-arrow keys aren't bound to the end-of-line functionality?
TextMate inherits the system-wide key bindings. Prior to Snow Leopard command-arrow left/right were defined to go to begin/end of line. With Snow Leopard the system wide keys changed (I think to be more insync with right-to-left scripts), Apple of course updated NSTextView etc. to these new bindings.
We updated TextMate as well but you may need cutting edge for this (Preferences → Software Update).
I have a completely different solution: I have gone to an Apple wireless keyboard, which is close to a laptop keyboard and which requires much less physical distance to the cursor keys.--pr
-----Original Message----- From: textmate-bounces+prathouz=uchicago.edu@macromates.com on behalf of Morgan Packard Sent: Tue 7/20/2010 10:39 AM To: TextMate users Subject: [TxMt] Alternate to arrow keys for moving cursor left/right?
I've realized I waste many precious milliseconds lifting my fingers up from their homes over to the arrow keys. Is there a key combination which will move the cursor left and right for me? How would I go about setting one up? thanks, -Morgan
This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal. Thank you.
This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal. Thank you.
This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal. Thank you.
On 20 Jul 2010, at 20:30, Rathouz, Paul [BSD] - HSD wrote:
I have a completely different solution: I have gone to an Apple wireless keyboard, which is close to a laptop keyboard and which requires much less physical distance to the cursor keys.--pr
Seconded. Also puts the fn key under your left hand within easy reach for page up/down / home / end, etc.
C --- Caius Durling caius@caius.name +44 (0) 7960 268 100 http://caius.name/