Keyboard – Shortcut for End of Line


I've been searching the other posts for an answer to this but they all have been slightly different than what I am looking for.

I am used to developing in OS X where the simple keyboard shortcut Command+ goes to the end of line.

Is there a way to wire up this command on Ubuntu? I have a Mac Book with Ubuntu so I don't have an End key.

I've tried the Custom Shortcuts in the Keyboard settings but can't get the command to work for end of line.

Any suggestions?

Best Answer

  1. Install xdotool : sudo apt-get install xdotool
  2. Go to system connections -> keyboard -> shortcuts -> custom
  3. Create new shortcut, binding bash -c "xdotool getactivewindow key End" command to some key combination
Related Question