Issue
Question
Is is possible to create a hotkey in Ubuntu or in Eclipse for "delete" that is on the left side of the keyboard so that I can use my left hand for it? Or does such a hotkey already exist?
- ctrl + d removes whole lines so it doesn't work
- ctrl + x overwrites whatever I have on the clipboard so it doesn't work
- ctrl + delete is not on the left hand side of the keyboard
- ctrl + backspace is not on the left hand side of the keyboard
Background
As a programmer I often find myself needing to delete some word from multiple places in my code (say I just removed a parameter from a method and need to update all code that is calling it). I keep using the mouse to mark the words by doubleclicking them and then deleting them. The problem is that normally I have my left hand on the left part of my keyboard and moving it to the delete keyboard button and back costs precious time!
Being able to mark words with my right hand and deleting them with my left one quickly would speed up some tasks.
Sorry if this is a stupid question but it really bothers me...
Solution
Go to Window
-> Preferences
-> General
-> Keys
. Search for delete
, select Delete
, press Copy Command, put something in Binding:
(e.g. Shift+A
), Apply, OK. Enjoy!
Answered By - Aleksandr M