Eclipse CTRL+A, CTRL+E go to beginning go to end of line

只谈情不闲聊 提交于 2019-12-05 19:04:42

问题


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.


回答1:


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



回答2:


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




回答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...



回答4:


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



来源:https://stackoverflow.com/questions/12047627/eclipse-ctrla-ctrle-go-to-beginning-go-to-end-of-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!