Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently discovered that the Mac has a lovely tendency to treat the Home and End keys on a 105-key keyboard as instructions to go to the start or end of the entire file, respectively.

I did some searching across Stack Exchange a while ago and found some tips that helped (sorry can't remember what they were now). Some applications now behave sensibly.

BUT when using Aptana Studio 3 these keys still persistently jump to the start or end of file. Since I've been using these keys for decades to go to the start or the end of the line, I press them a lot and then proceed to swear loudly.

I'd love a system-wide fix that works consistently but I'll be happy if anyone can point me to a fix for Aptana as that's where it hurts the most.

share|improve this question
You probably just modified DefaultKeyBinding.dict before, right? It's relatively system-wide, but the custom keybindings aren't supported by some cross-platform apps. – user495470 Mar 3 '12 at 9:09
not really sure @Lri but that does fit with what I've observed – LRE Mar 3 '12 at 21:57
up vote 2 down vote accepted

Go to Preferences > General > Keys.

In there you will find all keybindings specific to the Aptana environment. To change the Home and End keys to line start/end rather the file start/end, search for "File Start" (or "Text Start") and "File End" (or "Text End") and unbind the keys then search for "Line Start" and "Line End" to setup the new bindings.

share|improve this answer
thankyou @slhck for removing gmy confession that I thought of the answer to my own question mere moments after asking it – LRE Mar 3 '12 at 21:56
Please check my edit if the labels are correct, another user said they were different. – slhck Mar 8 '12 at 10:02
the labels seem right – LRE Mar 12 '12 at 19:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .