• 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
Keyboard shortcut to jump to first non-blank character in line?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Keyboard shortcut to jump to first non-blank character in line?
  • From: Andy Lee <email@hidden>
  • Date: Fri, 21 Aug 2009 12:57:36 -0400

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

  • Follow-Ups:
    • Re: Keyboard shortcut to jump to first non-blank character in line?
      • From: "A.M." <email@hidden>
    • Re: Keyboard shortcut to jump to first non-blank character in line?
      • From: Quincey Morris <email@hidden>
    • Re: Keyboard shortcut to jump to first non-blank character in line?
      • From: Paul Summermatter <email@hidden>
    • Re: Keyboard shortcut to jump to first non-blank character in line?
      • From: ccsccs7 <email@hidden>
  • Prev by Date: Re: valgrind-3.5.0 is available (Mac OS X support)
  • Next by Date: Re: Keyboard shortcut to jump to first non-blank character in line?
  • Previous by thread: Re: Completions not working in 3.1.3?
  • Next by thread: Re: Keyboard shortcut to jump to first non-blank character in line?
  • Index(es):
    • Date
    • Thread