diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-12-12 23:02:40 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-12-12 23:02:40 +0000 |
commit | 7264fdb06a9ff70937da9ae02d506d13d1e06e52 (patch) | |
tree | aa6e3e3dcae8987439470247962facc2e75ee0bf /gtk | |
parent | fcfb638ab0260c7f320c5ffe7c50a3d669f9881b (diff) | |
download | gtk+-7264fdb06a9ff70937da9ae02d506d13d1e06e52.tar.gz |
Add C-u/C-h/C-w. (#72245)
Thu Dec 12 17:58:41 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkrc.key.emacs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtkrc.key.emacs b/gtk/gtkrc.key.emacs index bd2bd5c74d..29e9228314 100644 --- a/gtk/gtkrc.key.emacs +++ b/gtk/gtkrc.key.emacs @@ -34,6 +34,16 @@ binding "gtk-emacs-text-entry" "insert-at-cursor" (" ") } bind "<alt>KP_Space" { "delete-from-cursor" (whitespace, 1) "insert-at-cursor" (" ") } + + # + # Some non-Emacs keybindings people are attached to + # + bind "<ctrl>u" { + "move-cursor" (paragraph-ends, -1, 0) + "delete-from-cursor" (paragraph-ends, 1) + } + bind "<ctrl>h" { "delete-from-cursor" (chars, -1) } + bind "<ctrl>w" { "delete-from-cursor" (word-ends, -1) } } # |