Ubuntu – Emacs-like keybindings system-wide

emacsshortcut-keyssystem

Is there a way to set Emacs-like keyboard shortcuts (at least the subset mentioned below) for the whole OS? This is possible in some apps such as the terminal, Emacs (go figure 🙂 and additionally through special plugins in some other apps (Eclipse), but I got so used to C-f-ing through text and never having to jump to arrows that I'd like to be able to do this system-wide so that I can do it whenever I'm typing – e.g. searching for songs in Rhythmbox, typing stuff into the dash or the HUD, writing mails in Thunderbird or Gmail… The combos I'm most interested in are:

  • C-f – forward
  • C-b – backwards
  • C-a – home
  • C-e – end
  • C-d – delete
  • C-k – delete line

(note for non-emacs users – C means Ctrl)

Best Answer

Based on: https://superuser.com/a/516847/205010

  1. Install gnome-tweak-tool: sudo apt-get install gnome-tweak-tool

  2. Open it: gnome-tweak-tool

  3. Go to Keyboard and Mouse and change Key Theme to Emacs

Related Question