tags:

views:

61

answers:

2

When I press the End key I expect it to bring me to the end of the line. Likewise when I press the Home key I expect it to bring me to the beginning of the line. In Xcode though, these navigate to the top and bottom of the page. How can this be changed?

+1  A: 

Go to Xcode -> Preferences... -> Key Bindings, tab Text Key Bindings, and change them to whatever you want.

zneak
+2  A: 

Xcode > Preferences > Key Bindings > Text Key Bindings

Then find these two:

  • Move to beginning of line
  • Move to end of line

Assign the Home and End Keys to these respectively.

Yes, otherwise Command + Right arrow and Command+Left Arrow are the way things are done on a Mac. If you are coming from Windows I would try to adjust to this. If you want to jump between words, use Alt-Left, Alt-Right.

Brock Woolf
I was using the hard way on my Mac Laptop. I think they do that because the small keyboard doesn't have Home and End keys. Since I'm now running Hackintosh on my PC, I have those keys, so I plan to use them.
awakeFromNib