Disable Intellij auto copy to clipboard

Shift-Delete is a shortcut for "cut".
To disable:

  • Go to Settings -> Keymap -> search for cut
  • right-click on found "cut" action, select "remove shift-delete
  • search for delete line
  • right-click on found "Delete line" action, add keyboard shortcut, press Shif-delete, hit ok
    It might warn you on possible conflict with maven's exclude extension action

Hope it helps


To disable this in the terminal -

Settings > Tools > Terminal: Uncheck "Copy to clipboard on selection"

This was most painful for me when using the terminal, when i'm trying to paste jira tickets into my commit message and it gets overwritten because I applied too much pressure to the track pad.