• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Keyboard shortcut to jump to first non-blank character in line?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keyboard shortcut to jump to first non-blank character in line?


  • Subject: Re: Keyboard shortcut to jump to first non-blank character in line?
  • From: Paul Summermatter <email@hidden>
  • Date: Fri, 21 Aug 2009 13:10:38 -0400

Andy,

I don't think this is exactly what you want, but Alt-F and Alt-B in my environment jump me forward and backward a word. I think this is an old emacs binding that's just wired into my brain and seems to work in all Apple apps (meaning it's part of Cocoa text views).

Regards,
Paul

On Aug 21, 2009, at 12:57 PM, Andy Lee wrote:

Is there a keyboard shortcut to position the text cursor just after all leading whitespace in the current line? For example, I sometimes want to do this to insert a new opening square bracket when I realize I need to nest a message. In my source code at work, I've been using Control-A followed by zero or more Control-F's to skip over the leading tabs. But in my home code, I use leading spaces, and this gets tedious.

I haven't found anything in the Xcode preferences for key bindings. I'm guessing there's already a key sequence in emacs. I just wonder (a) what it is, and (b) whether it's built into Cocoa text views.

--Andy

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Keyboard shortcut to jump to first non-blank character in line? (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: Keyboard shortcut to jump to first non-blank character in line?
  • Next by Date: Re: Keyboard shortcut to jump to first non-blank character in line?
  • Previous by thread: Re: Keyboard shortcut to jump to first non-blank character in line?
  • Next by thread: Re: Keyboard shortcut to jump to first non-blank character in line?
  • Index(es):
    • Date
    • Thread