10

I searched and was very surprised that I can't find a possibility to make CTRL+A, CTRL+E work. So I can jump to the beginning or end of the line. I'm working on a Mac and don't have Pos1 or Home Button on my keyboard.

I'm pretty used to it, because everywhere I need it, it exists, not so in eclipse.

starcorn
  • 8,261
  • 23
  • 83
  • 124
seb
  • 4,279
  • 2
  • 25
  • 36
  • 1
    check this [Question](http://stackoverflow.com/questions/168426/how-do-i-add-a-shortcut-key-to-eclipse-3-2-java-plug-in-to-build-the-current-pro) may it will help you – Osama Ahmad Aug 21 '12 at 02:49
  • 1
    On a modern Mac keyboard, The Fn+Up/Down/Left/Right key combinations are substitutes for the PC PgUp/PgDn/Home/End keys. – nitind Aug 21 '12 at 03:48

4 Answers4

6

When you set custom keys in eclipse - just make sure that the keys you assign are not already assigned to different actions. e.g.

  1. enter "ctrl+a" into the filter field and "unbind" the shortcut from all actions that you don't need
  2. select action you want ("line start"), put cursor in "Binding" field and click Ctrl+A
Dziad Borowy
  • 12,368
  • 4
  • 41
  • 53
  • Already did that, but was searching for "begin", "beginning", "go to". Thank you for the exact action name! – seb Aug 21 '12 at 14:42
  • Unfortunately, I've not set any custom keys... Ctrl E and Ctrl A were broken out-of-the-box – chrips Aug 13 '17 at 05:34
6

Enter command + -->). this will work.

Ravi Yenugu
  • 3,895
  • 5
  • 40
  • 58
Rakesh
  • 1,374
  • 1
  • 16
  • 24
3

Another option I found was:

  1. going to preferences
  2. to general -> Editors -> keys
  3. from Scheme select Emacs
  4. Sorry I tried to post a pic, but apparently I need more points...
user3302709
  • 998
  • 8
  • 9
0

Home (goes to beginning of the line),End(goes to end of the line) works for me )