全部文本 #1867902 原始 编辑

Emacs keybinding support in gtk/

公开 text v1 · 不可变
·已发布 2010-04-19 14:44 UTC
渲染后的文本正文

GTK/Gnome users. You can put the following two lines in a file called .gtkrc-2.0 in your home directory and you will get emacs like keybinding support in programs like Firefox. Then you can use Ctrl-U to clear your address bar, Ctrl-A and Ctrl-E to go to the beginning and end of line, etc.

include "/usr/share/themes/Emacs/gtk-2.0-key/gtkrc"
gtk-key-theme-name = "Emacs"


You'll need to change the include line to point at wherever your Emacs/gtk-2.0-key/gtkrc is on your system.

Follow @climagic on twitter and identi.ca