Customizing Cut line in eclipse with Ctrl-X

fastcodejava picture fastcodejava · Jan 1, 2011 · Viewed 8.3k times · Source

Is it possible to configure Eclipse to cut lines with Ctrl+X? Is it more intuitive and leave Ctrl+D to duplicate lines? I am trying IntelliJ now and keep typing Ctrl+D to delete lines which duplicates.

EDIT : Wow, already five responses. I want Ctrl+X to cut the whole line if nothing is selected, otherwise do a regular cut. Same thing with Ctrl+C. It is a nice feature in IntelliJ.

Answer

Wilson Waters picture Wilson Waters · Aug 9, 2012

Every time I istall Eclipse I forget it doesn't have this functionality by default and have to search to fix it.

This plugin works for me and does exactly (and only) what the original poster asks for

http://code.google.com/p/copycutcurrentline/