If like me you’ve come from (or still work a lot in) a standard PC environment, you may be used to using the ‘end’ and ‘home’ keys to jump to the start or end of a line when editing text. However by default on a Mac this will jump to the start or end of the entire file, making for lots of infuriating moments when you hit ‘home’ and completely loose the place you are editing.
There’s a fix available here : KeyFixer that fixes this in most standard OSX apps and works great, but it doesn’t fix it for Eclipse which has its own internal bindings.
By default though Eclipse is even odder and has the home/end bound to ‘apple’ + left/right, which if you’re using a modern OSX will instead change spaces, even more infuriating!
So to fix this, simply open Eclipse and go into ‘preferences->general->keys’, then find ‘Line Start’ & ‘Line End’ and in the ‘binding’ area change them to the home/end keys & hit apply, problem fixed!
(You might also want to change the ‘select line start/end’ & ‘select text start/end’ while you’re there.)
Thank you so much!
You saved my life with this posting.
I *HATE* Mac’s Home and End behavior!
THANK YOU SO MUCH!
Coming from Windows, this was driving me mad. Great post.
Thank you so much!
Amazing, thank you!
It’s also worth changing “Next word”, “Select next word”, “Delete next word” and their “Previous…” counterparts to command-right, command-shift-right and so on.
Oh, and don’t forget to fix page-up/down too! (Search for “Page Up” and “Page Down” in the key bindings and set them to Fn-Up and Fn-Down).