Customizing Cut line in eclipse with Ctrl-X

  1. Click Window -> Preferences
  2. Expand General -> Keys
  3. Set filter text to: cut
  4. Select Cut Line
  5. Set Binding to: Ctrl+x
  6. Select Cut
  7. Set Binding to empty (by pressing Backspapce).

You can also swap the Binding for Delete Line and Duplicate Line commands within the Preferences dialog.

Cut line


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/