简体   繁体   中英

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

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.

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

  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

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

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

主页(转到行首),结束(转到行尾)对我有效)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM