Ubuntu – How to delete a line using a shortcut in Gedit

gedit

Is there any shortcut for it?

If not is it possible to set a key for this operation?

I am using Ubuntu 14.04 LTS.

Best Answer

yes you can using Ctrl + D as you can see in this page under the Shortcut keys for editing files: Gedit shortcut keys