• 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: "A.M." <email@hidden>
  • Date: Fri, 21 Aug 2009 14:26:01 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


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.

I use autoindentation, so Ctrl-A+Tab works every time.

Cheers,
M
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)

iEYEARECAAYFAkqO5rsACgkQqVAj6JpR7t6KSwCcCVlfwsgnBxd6SHcRwNP+YMQq
huIAn0wemPjZvryNeMkOrwHYrlekTeta
=hM3C
-----END PGP SIGNATURE-----
_______________________________________________
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